From 25ceaa59c64ce00f6aaf105fbf07cfa09252c034 Mon Sep 17 00:00:00 2001 From: "WIN-IEQ8U88PPRB\\Administrator" <289563215@qq.com> Date: Thu, 4 Jun 2026 17:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Mapbuilding=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ConfigData/AllConfigs.bytes | Bin 1875557 -> 1877706 bytes Scripts/DR_Generated/DRMapBuilding.cs | 217 +++++ Scripts/DR_Generated/DRMapBuilding.cs.meta | 11 + .../Byway/Thrift/Data/AllConfigs.cs | 454 +++++----- .../Thrift/Data/MapBuilding.Extensions.cs | 65 ++ .../Data/MapBuilding.Extensions.cs.meta | 11 + .../Byway/Thrift/Data/MapBuilding.cs | 214 +++++ .../Byway/Thrift/Data/MapBuilding.cs.meta | 11 + .../Byway/Thrift/Data/MapBuildingItem.cs | 822 ++++++++++++++++++ .../Byway/Thrift/Data/MapBuildingItem.cs.meta | 11 + 10 files changed, 1618 insertions(+), 198 deletions(-) create mode 100644 Scripts/DR_Generated/DRMapBuilding.cs create mode 100644 Scripts/DR_Generated/DRMapBuilding.cs.meta create mode 100644 Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs create mode 100644 Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs.meta create mode 100644 Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs create mode 100644 Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs.meta create mode 100644 Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs create mode 100644 Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs.meta diff --git a/ConfigData/AllConfigs.bytes b/ConfigData/AllConfigs.bytes index 944c7b92174535e73556fe7e79ad37425f5591c6..395c20700448157ab5a90356fb87842e6d724c58 100644 GIT binary patch delta 2249 zcma)-&rcIk5XZ|>mZdGVmQGnpRkAdMkcPBNTbkaCUN~q>kdq=Y(v*@c4HROGA&X=q zob>>S9ypk&HxDLw@GmgY7{b9LYEX_I_2#^{vp-6A70C4McA3wc`F`Il$M07@d|c7f zgBNZKAV2_r&GmDa+;{7tGBvMM$`e`T`kJOx^6Rq@kY)NhpTi&3dX!tAl>>4h5QHF6 z*y^Sftv_w2=xrDgM2-pabua7`^AAiLMFNRaM80A%*q>MZI`&qi20{>`9JXRk!tOUu z9jNUcSX-->4iSiOjKtRy!D(Q!T?ZXiZk5xjCJIq*h{QkLm~uPDmlA^*<_A#)W-d~k zo(c@3pV8bn#Hpz$uE_DxQ>oZGBp|_4LRi8nIUOf;-*Yu#>6wHiaaaj0wv_&_M8VQi z2AN|bysV>6QwdXl4`WU%TCzAPND+sXg&bccCan(Akfsz?g0(f@K|h0;Hs>N-L=#0i z7_VFhRJ9JMIj95n!EG5-R!>JBM|B8>2&A*A-R*Xch02eGeJZ?3MXNIf6aula{nF#& zI36>LJvnMIcZX�~rFb$sKiZT0QpUOysP3Mqq?6Y?x1kof}`nN!@S%f}J-Cqm;*{ z_l>)cR)akEFW7pF!5DHRK6C;cNxTo8y-M??GgxFc!Y#@|mPpK@U!tQ($^B9myp?q- z8i(;20x^p=LN1WoA|FuEZY>8n;xLDfI(PQIF=>O|1vq&ssFcSnc}H`{6>*Q952s{X zRDc3;m_;;qx~CsbQVB|w6vd>L&E3BGY(8mkUWPJpVmN*D`oq1m{NH5D3%qP6RiHvi zaZF;0eGeyxLG)IvY%3kuFggsu=rn>xmmwP6hGg^@AtU@Y@@To^)7Iv41fv%tig6Aj zhH-v>b2cYkQOnO_(hZmL>cc3p2}7yB?07_gsRO#XSMAJpKWCZ}em=B_j}t+8~o zu2rWO8u#a}HP%)auHJnh_aIASta-T?FMmAWW;e$#UURZmH6O8E=sIv%gTtD9$%9#6 zT3f9)r>plGOY=N^T&uJECPyD{KV~;SUp_I>^oXO)>#dB~k0E0WV5Bex_cLPp^6p=T C*5ii& delta 159 zcmX?gw&>}eqUP=F?c3QIftU%1nSq!Eh*^P{4TwQ<96-zo#9Tnky?r}7Ph%nDnRd%c z9w6ogVm=_|2Vwyr7Tj)GDKzGrHSakd2Lb0E- Z+q?M0fmi~FC4pE9h^4o8@yR&M002o$If(!O diff --git a/Scripts/DR_Generated/DRMapBuilding.cs b/Scripts/DR_Generated/DRMapBuilding.cs new file mode 100644 index 0000000..4adb807 --- /dev/null +++ b/Scripts/DR_Generated/DRMapBuilding.cs @@ -0,0 +1,217 @@ +// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改 +// 配置类: MapBuilding +// 数据类: MapBuildingItem + +using UnityEngine; +using Byway.Config; +using Byway.Thrift.Data; +using UnityGameFramework.Runtime; + +namespace CrazyMaple +{ + /// + /// MapBuilding 数据行 + /// + public class DRMapBuilding : DataRowBase + { + private MapBuildingItem _configData; + + /// + /// 唯一标识 + /// + public override int Id + { + get + { + return _configData?.Id ?? 0; + } + } + + /// + /// Area + /// + public int Area + { + get + { + return _configData?.Area ?? 0; + } + } + + /// + /// Building + /// + public int Building + { + get + { + return _configData?.Building ?? 0; + } + } + + /// + /// BuildingUnlockLv + /// + public int BuildingUnlockLv + { + get + { + return _configData?.BuildingUnlockLv ?? 0; + } + } + + /// + /// BuildNum + /// + public int BuildNum + { + get + { + return _configData?.BuildNum ?? 0; + } + } + + /// + /// BuildLv + /// + public int BuildLv + { + get + { + return _configData?.BuildLv ?? 0; + } + } + + /// + /// EXPReward + /// + public int EXPReward + { + get + { + return _configData?.EXPReward ?? 0; + } + } + + /// + /// ProducerReward + /// + public string ProducerReward + { + get + { + return _configData?.ProducerReward ?? ""; + } + } + + /// + /// Parts + /// + public int Parts + { + get + { + return _configData?.Parts ?? 0; + } + } + + /// + /// PetCoins + /// + public string PetCoins + { + get + { + return _configData?.PetCoins ?? ""; + } + } + + /// + /// FogCover + /// + public string FogCover + { + get + { + return _configData?.FogCover ?? ""; + } + } + + /// + /// BuildingIcon + /// + public string BuildingIcon + { + get + { + return _configData?.BuildingIcon ?? ""; + } + } + + /// + /// 从配置加载数据(优先使用传入的配置实例) + /// + public void LoadFromConfig(int id, MapBuilding config = null) + { + if (config == null) + { + config = ConfigManager.Instance.GetConfig(); + } + + if (config?.Mapbuildings != null) + { + config.Mapbuildings.TryGetValue(id, out _configData); + } + } + + /// + /// 直接设置配置数据(性能优化:跳过字典查询) + /// + public void SetConfigData(MapBuildingItem configData) + { + _configData = configData; + } + + /// + /// 解析数据行(优化:使用 userData 传入的配置实例,避免重复调用 GetConfig) + /// + public override bool ParseDataRow(string dataRowString, object userData) + { + int id = 0; + if (!int.TryParse(dataRowString, out id)) + { + return false; + } + + // 性能优化:尝试从 userData 获取配置字典,直接获取 Item + if (userData is System.Collections.Generic.Dictionary userDataDict) + { + // 优先尝试从缓存的字典直接获取 Item(最快) + if (userDataDict.TryGetValue("ConfigDict", out object dictObj)) + { + var dict = dictObj as System.Collections.Generic.Dictionary; + if (dict != null && dict.TryGetValue(id, out var item)) + { + _configData = item; + return true; + } + } + + // 备选方案:从配置实例获取 + if (userDataDict.TryGetValue("ConfigInstance", out object configObj)) + { + var config = configObj as MapBuilding; + if (config != null) + { + LoadFromConfig(id, config); + return _configData != null; + } + } + } + + // 兜底方案:直接查询(最慢) + LoadFromConfig(id); + return _configData != null; + } + } +} diff --git a/Scripts/DR_Generated/DRMapBuilding.cs.meta b/Scripts/DR_Generated/DRMapBuilding.cs.meta new file mode 100644 index 0000000..fc13ab0 --- /dev/null +++ b/Scripts/DR_Generated/DRMapBuilding.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d0b66eec76d27924baae55b98100ec5e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs index be1a13e..a0d3caf 100644 --- a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs +++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs @@ -40,6 +40,7 @@ namespace Byway.Thrift.Data [DataContract(Namespace="")] public partial class AllConfigs : TBase { + private global::Byway.Thrift.Data.MapBuilding _MapBuilding; private global::Byway.Thrift.Data.AdGiftData _AdGiftData; private global::Byway.Thrift.Data.BagItemConfig _BagItemConfig; private global::Byway.Thrift.Data.BonusValue _BonusValue; @@ -140,6 +141,20 @@ namespace Byway.Thrift.Data private global::Byway.Thrift.Data.BuildingFeverDecorateOff _BuildingFeverDecorateOff; private global::Byway.Thrift.Data.PLevelData _PLevelData; + [DataMember(Order = 0)] + public global::Byway.Thrift.Data.MapBuilding MapBuilding + { + get + { + return _MapBuilding; + } + set + { + __isset.MapBuilding = true; + this._MapBuilding = value; + } + } + [DataMember(Order = 0)] public global::Byway.Thrift.Data.AdGiftData AdGiftData { @@ -1532,6 +1547,8 @@ namespace Byway.Thrift.Data [DataContract] public struct Isset { + [DataMember] + public bool MapBuilding; [DataMember] public bool AdGiftData; [DataMember] @@ -1734,6 +1751,11 @@ namespace Byway.Thrift.Data #region XmlSerializer support + public bool ShouldSerializeMapBuilding() + { + return __isset.MapBuilding; + } + public bool ShouldSerializeAdGiftData() { return __isset.AdGiftData; @@ -2238,6 +2260,11 @@ namespace Byway.Thrift.Data public AllConfigs DeepCopy() { var tmp0 = new AllConfigs(); + if((MapBuilding != null) && __isset.MapBuilding) + { + tmp0.MapBuilding = (global::Byway.Thrift.Data.MapBuilding)this.MapBuilding.DeepCopy(); + } + tmp0.__isset.MapBuilding = this.__isset.MapBuilding; if((AdGiftData != null) && __isset.AdGiftData) { tmp0.AdGiftData = (global::Byway.Thrift.Data.AdGiftData)this.AdGiftData.DeepCopy(); @@ -2754,6 +2781,17 @@ namespace Byway.Thrift.Data switch (field.ID) { case 1: + if (field.Type == TType.Struct) + { + MapBuilding = new global::Byway.Thrift.Data.MapBuilding(); + await MapBuilding.ReadAsync(iprot, cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 2: if (field.Type == TType.Struct) { AdGiftData = new global::Byway.Thrift.Data.AdGiftData(); @@ -2764,7 +2802,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 2: + case 3: if (field.Type == TType.Struct) { BagItemConfig = new global::Byway.Thrift.Data.BagItemConfig(); @@ -2775,7 +2813,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 3: + case 4: if (field.Type == TType.Struct) { BonusValue = new global::Byway.Thrift.Data.BonusValue(); @@ -2786,7 +2824,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 4: + case 5: if (field.Type == TType.Struct) { CardDetailCfg = new global::Byway.Thrift.Data.CardDetailCfg(); @@ -2797,7 +2835,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 5: + case 6: if (field.Type == TType.Struct) { CardPackCfg = new global::Byway.Thrift.Data.CardPackCfg(); @@ -2808,7 +2846,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 6: + case 7: if (field.Type == TType.Struct) { CardStickerExchangeCfg = new global::Byway.Thrift.Data.CardStickerExchangeCfg(); @@ -2819,7 +2857,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 7: + case 8: if (field.Type == TType.Struct) { CatsGardenMultiplyData = new global::Byway.Thrift.Data.CatsGardenMultiplyData(); @@ -2830,7 +2868,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 8: + case 9: if (field.Type == TType.Struct) { CatsGardenProgressData = new global::Byway.Thrift.Data.CatsGardenProgressData(); @@ -2841,7 +2879,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 9: + case 10: if (field.Type == TType.Struct) { CatsGardenSlotData = new global::Byway.Thrift.Data.CatsGardenSlotData(); @@ -2852,7 +2890,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 10: + case 11: if (field.Type == TType.Struct) { CatsGardenTempleteData = new global::Byway.Thrift.Data.CatsGardenTempleteData(); @@ -2863,7 +2901,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 11: + case 12: if (field.Type == TType.Struct) { ChampshipCfg = new global::Byway.Thrift.Data.ChampshipCfg(); @@ -2874,7 +2912,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 12: + case 13: if (field.Type == TType.Struct) { ChampshipRankReward = new global::Byway.Thrift.Data.ChampshipRankReward(); @@ -2885,7 +2923,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 13: + case 14: if (field.Type == TType.Struct) { ChampshipRankInfo = new global::Byway.Thrift.Data.ChampshipRankInfo(); @@ -2896,7 +2934,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 14: + case 15: if (field.Type == TType.Struct) { OrderScene = new global::Byway.Thrift.Data.OrderScene(); @@ -2907,7 +2945,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 15: + case 16: if (field.Type == TType.Struct) { ChampshipScoreReward = new global::Byway.Thrift.Data.ChampshipScoreReward(); @@ -2918,7 +2956,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 16: + case 17: if (field.Type == TType.Struct) { CollectionRoomReward = new global::Byway.Thrift.Data.CollectionRoomReward(); @@ -2929,7 +2967,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 17: + case 18: if (field.Type == TType.Struct) { CollectionsRewardsData = new global::Byway.Thrift.Data.CollectionsRewardsData(); @@ -2940,7 +2978,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 18: + case 19: if (field.Type == TType.Struct) { CollectionsUnlockLineData = new global::Byway.Thrift.Data.CollectionsUnlockLineData(); @@ -2951,7 +2989,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 19: + case 20: if (field.Type == TType.Struct) { ComboGift = new global::Byway.Thrift.Data.ComboGift(); @@ -2962,7 +3000,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 20: + case 21: if (field.Type == TType.Struct) { ComboGiftTwo = new global::Byway.Thrift.Data.ComboGiftTwo(); @@ -2973,7 +3011,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 21: + case 22: if (field.Type == TType.Struct) { DailyTaskActiveCfg = new global::Byway.Thrift.Data.DailyTaskActiveCfg(); @@ -2984,7 +3022,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 22: + case 23: if (field.Type == TType.Struct) { DailyTaskConfig = new global::Byway.Thrift.Data.DailyTaskConfig(); @@ -2995,7 +3033,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 23: + case 24: if (field.Type == TType.Struct) { DailyTaskDetail = new global::Byway.Thrift.Data.DailyTaskDetail(); @@ -3006,7 +3044,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 24: + case 25: if (field.Type == TType.Struct) { DailyTaskReward = new global::Byway.Thrift.Data.DailyTaskReward(); @@ -3017,7 +3055,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 25: + case 26: if (field.Type == TType.Struct) { DecorateCost = new global::Byway.Thrift.Data.DecorateCost(); @@ -3028,7 +3066,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 26: + case 27: if (field.Type == TType.Struct) { DecorateConst = new global::Byway.Thrift.Data.DecorateConst(); @@ -3039,7 +3077,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 27: + case 28: if (field.Type == TType.Struct) { DialogData = new global::Byway.Thrift.Data.DialogData(); @@ -3050,7 +3088,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 28: + case 29: if (field.Type == TType.Struct) { EmiterRetreatData = new global::Byway.Thrift.Data.EmiterRetreatData(); @@ -3061,7 +3099,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 29: + case 30: if (field.Type == TType.Struct) { EmojiData = new global::Byway.Thrift.Data.EmojiData(); @@ -3072,7 +3110,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 30: + case 31: if (field.Type == TType.Struct) { EndlessGift = new global::Byway.Thrift.Data.EndlessGift(); @@ -3083,7 +3121,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 31: + case 32: if (field.Type == TType.Struct) { EnergyLimitGift = new global::Byway.Thrift.Data.EnergyLimitGift(); @@ -3094,7 +3132,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 32: + case 33: if (field.Type == TType.Struct) { FrameData = new global::Byway.Thrift.Data.FrameData(); @@ -3105,7 +3143,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 33: + case 34: if (field.Type == TType.Struct) { GrowthFund = new global::Byway.Thrift.Data.GrowthFund(); @@ -3116,7 +3154,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 34: + case 35: if (field.Type == TType.Struct) { GuessReward = new global::Byway.Thrift.Data.GuessReward(); @@ -3127,7 +3165,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 35: + case 36: if (field.Type == TType.Struct) { GuideData = new global::Byway.Thrift.Data.GuideData(); @@ -3138,7 +3176,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 36: + case 37: if (field.Type == TType.Struct) { HandbookReward = new global::Byway.Thrift.Data.HandbookReward(); @@ -3149,7 +3187,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 37: + case 38: if (field.Type == TType.Struct) { HeadData = new global::Byway.Thrift.Data.HeadData(); @@ -3160,7 +3198,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 38: + case 39: if (field.Type == TType.Struct) { HowToPlay = new global::Byway.Thrift.Data.HowToPlay(); @@ -3171,7 +3209,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 39: + case 40: if (field.Type == TType.Struct) { IndoorProgress = new global::Byway.Thrift.Data.IndoorProgress(); @@ -3182,7 +3220,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 40: + case 41: if (field.Type == TType.Struct) { LanguageData = new global::Byway.Thrift.Data.LanguageData(); @@ -3193,7 +3231,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 41: + case 42: if (field.Type == TType.Struct) { LevelData = new global::Byway.Thrift.Data.LevelData(); @@ -3204,7 +3242,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 42: + case 43: if (field.Type == TType.Struct) { LuckyCatData = new global::Byway.Thrift.Data.LuckyCatData(); @@ -3215,7 +3253,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 43: + case 44: if (field.Type == TType.Struct) { LuckyCatProbability = new global::Byway.Thrift.Data.LuckyCatProbability(); @@ -3226,7 +3264,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 44: + case 45: if (field.Type == TType.Struct) { MainCardCollect = new global::Byway.Thrift.Data.MainCardCollect(); @@ -3237,7 +3275,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 45: + case 46: if (field.Type == TType.Struct) { MergeData = new global::Byway.Thrift.Data.MergeData(); @@ -3248,7 +3286,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 46: + case 47: if (field.Type == TType.Struct) { MileStoneDetail = new global::Byway.Thrift.Data.MileStoneDetail(); @@ -3259,7 +3297,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 47: + case 48: if (field.Type == TType.Struct) { MileStoneReward = new global::Byway.Thrift.Data.MileStoneReward(); @@ -3270,7 +3308,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 48: + case 49: if (field.Type == TType.Struct) { ChampshipJackpot = new global::Byway.Thrift.Data.ChampshipJackpot(); @@ -3281,7 +3319,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 49: + case 50: if (field.Type == TType.Struct) { MiningReward = new global::Byway.Thrift.Data.MiningReward(); @@ -3292,7 +3330,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 50: + case 51: if (field.Type == TType.Struct) { Music = new global::Byway.Thrift.Data.Music(); @@ -3303,7 +3341,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 51: + case 52: if (field.Type == TType.Struct) { NetAssetData = new global::Byway.Thrift.Data.NetAssetData(); @@ -3314,7 +3352,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 52: + case 53: if (field.Type == TType.Struct) { NetworkItemData = new global::Byway.Thrift.Data.NetworkItemData(); @@ -3325,7 +3363,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 53: + case 54: if (field.Type == TType.Struct) { NewbieDailyTaskCfg = new global::Byway.Thrift.Data.NewbieDailyTaskCfg(); @@ -3336,7 +3374,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 54: + case 55: if (field.Type == TType.Struct) { NewbieScoreCfg = new global::Byway.Thrift.Data.NewbieScoreCfg(); @@ -3347,7 +3385,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 55: + case 56: if (field.Type == TType.Struct) { NPCFriendsData = new global::Byway.Thrift.Data.NPCFriendsData(); @@ -3358,7 +3396,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 56: + case 57: if (field.Type == TType.Struct) { PassOne = new global::Byway.Thrift.Data.PassOne(); @@ -3369,7 +3407,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 57: + case 58: if (field.Type == TType.Struct) { PetAdWorkGift = new global::Byway.Thrift.Data.PetAdWorkGift(); @@ -3380,7 +3418,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 58: + case 59: if (field.Type == TType.Struct) { PetAirItem = new global::Byway.Thrift.Data.PetAirItem(); @@ -3391,7 +3429,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 59: + case 60: if (field.Type == TType.Struct) { PetCareItem = new global::Byway.Thrift.Data.PetCareItem(); @@ -3402,7 +3440,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 60: + case 61: if (field.Type == TType.Struct) { PetCoinGift = new global::Byway.Thrift.Data.PetCoinGift(); @@ -3413,7 +3451,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 61: + case 62: if (field.Type == TType.Struct) { PetDailyTaskCfg = new global::Byway.Thrift.Data.PetDailyTaskCfg(); @@ -3424,7 +3462,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 62: + case 63: if (field.Type == TType.Struct) { PetDressItem = new global::Byway.Thrift.Data.PetDressItem(); @@ -3435,7 +3473,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 63: + case 64: if (field.Type == TType.Struct) { PetHomeDecorateList = new global::Byway.Thrift.Data.PetHomeDecorateList(); @@ -3446,7 +3484,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 64: + case 65: if (field.Type == TType.Struct) { PetPlayJoyItem = new global::Byway.Thrift.Data.PetPlayJoyItem(); @@ -3457,7 +3495,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 65: + case 66: if (field.Type == TType.Struct) { PetRoomUnlockCfg = new global::Byway.Thrift.Data.PetRoomUnlockCfg(); @@ -3468,7 +3506,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 66: + case 67: if (field.Type == TType.Struct) { PetShopItem = new global::Byway.Thrift.Data.PetShopItem(); @@ -3479,7 +3517,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 67: + case 68: if (field.Type == TType.Struct) { PlayHomeDecorateCfg = new global::Byway.Thrift.Data.PlayHomeDecorateCfg(); @@ -3490,7 +3528,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 68: + case 69: if (field.Type == TType.Struct) { PromotionPack = new global::Byway.Thrift.Data.PromotionPack(); @@ -3501,7 +3539,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 69: + case 70: if (field.Type == TType.Struct) { RaceReward = new global::Byway.Thrift.Data.RaceReward(); @@ -3512,7 +3550,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 70: + case 71: if (field.Type == TType.Struct) { RankData = new global::Byway.Thrift.Data.RankData(); @@ -3523,7 +3561,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 71: + case 72: if (field.Type == TType.Struct) { RegionData = new global::Byway.Thrift.Data.RegionData(); @@ -3534,7 +3572,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 72: + case 73: if (field.Type == TType.Struct) { SceneData = new global::Byway.Thrift.Data.SceneData(); @@ -3545,7 +3583,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 73: + case 74: if (field.Type == TType.Struct) { SevenLoginCfg = new global::Byway.Thrift.Data.SevenLoginCfg(); @@ -3556,7 +3594,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 74: + case 75: if (field.Type == TType.Struct) { ShopItem = new global::Byway.Thrift.Data.ShopItem(); @@ -3567,7 +3605,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 75: + case 76: if (field.Type == TType.Struct) { ShopPack = new global::Byway.Thrift.Data.ShopPack(); @@ -3578,7 +3616,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 76: + case 77: if (field.Type == TType.Struct) { ShopSpecial = new global::Byway.Thrift.Data.ShopSpecial(); @@ -3589,7 +3627,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 77: + case 78: if (field.Type == TType.Struct) { SignInData = new global::Byway.Thrift.Data.SignInData(); @@ -3600,7 +3638,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 78: + case 79: if (field.Type == TType.Struct) { Sound = new global::Byway.Thrift.Data.Sound(); @@ -3611,7 +3649,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 79: + case 80: if (field.Type == TType.Struct) { StartMerge = new global::Byway.Thrift.Data.StartMerge(); @@ -3622,7 +3660,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 80: + case 81: if (field.Type == TType.Struct) { StartOrder = new global::Byway.Thrift.Data.StartOrder(); @@ -3633,7 +3671,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 81: + case 82: if (field.Type == TType.Struct) { TurnTableCfg = new global::Byway.Thrift.Data.TurnTableCfg(); @@ -3644,7 +3682,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 82: + case 83: if (field.Type == TType.Struct) { UIForm = new global::Byway.Thrift.Data.UIForm(); @@ -3655,7 +3693,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 83: + case 84: if (field.Type == TType.Struct) { WashStartMerge = new global::Byway.Thrift.Data.WashStartMerge(); @@ -3666,7 +3704,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 84: + case 85: if (field.Type == TType.Struct) { WeekTaskReward = new global::Byway.Thrift.Data.WeekTaskReward(); @@ -3677,7 +3715,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 85: + case 86: if (field.Type == TType.Struct) { LevelLauncherData = new global::Byway.Thrift.Data.LevelLauncherData(); @@ -3688,7 +3726,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 86: + case 87: if (field.Type == TType.Struct) { NickNameRandomData = new global::Byway.Thrift.Data.NickNameRandomData(); @@ -3699,7 +3737,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 87: + case 88: if (field.Type == TType.Struct) { ConstantString = new global::Byway.Thrift.Data.ConstantString(); @@ -3710,7 +3748,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 88: + case 89: if (field.Type == TType.Struct) { ConstantInt = new global::Byway.Thrift.Data.ConstantInt(); @@ -3721,7 +3759,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 89: + case 90: if (field.Type == TType.Struct) { GuideReward = new global::Byway.Thrift.Data.GuideReward(); @@ -3732,7 +3770,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 90: + case 91: if (field.Type == TType.Struct) { FriendConst = new global::Byway.Thrift.Data.FriendConst(); @@ -3743,7 +3781,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 91: + case 92: if (field.Type == TType.Struct) { ChargeConst = new global::Byway.Thrift.Data.ChargeConst(); @@ -3754,7 +3792,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 92: + case 93: if (field.Type == TType.Struct) { AmbientData = new global::Byway.Thrift.Data.AmbientData(); @@ -3765,7 +3803,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 93: + case 94: if (field.Type == TType.Struct) { FurShop = new global::Byway.Thrift.Data.FurShop(); @@ -3776,7 +3814,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 94: + case 95: if (field.Type == TType.Struct) { FakePlayroomDataMould = new global::Byway.Thrift.Data.FakePlayroomDataMould(); @@ -3787,7 +3825,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 95: + case 96: if (field.Type == TType.Struct) { LimitedTimeEventData = new global::Byway.Thrift.Data.LimitedTimeEventData(); @@ -3798,7 +3836,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 96: + case 97: if (field.Type == TType.Struct) { FriendInviteRewardData = new global::Byway.Thrift.Data.FriendInviteRewardData(); @@ -3809,7 +3847,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 97: + case 98: if (field.Type == TType.Struct) { LimitedTimeEventConst = new global::Byway.Thrift.Data.LimitedTimeEventConst(); @@ -3820,7 +3858,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 98: + case 99: if (field.Type == TType.Struct) { BuildingFeverDecorateOff = new global::Byway.Thrift.Data.BuildingFeverDecorateOff(); @@ -3831,7 +3869,7 @@ namespace Byway.Thrift.Data await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); } break; - case 99: + case 100: if (field.Type == TType.Struct) { PLevelData = new global::Byway.Thrift.Data.PLevelData(); @@ -3866,11 +3904,20 @@ namespace Byway.Thrift.Data var tmp1 = new TStruct("AllConfigs"); await oprot.WriteStructBeginAsync(tmp1, cancellationToken); var tmp2 = new TField(); + if((MapBuilding != null) && __isset.MapBuilding) + { + tmp2.Name = "MapBuilding"; + tmp2.Type = TType.Struct; + tmp2.ID = 1; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await MapBuilding.WriteAsync(oprot, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } if((AdGiftData != null) && __isset.AdGiftData) { tmp2.Name = "AdGiftData"; tmp2.Type = TType.Struct; - tmp2.ID = 1; + tmp2.ID = 2; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await AdGiftData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3879,7 +3926,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "BagItemConfig"; tmp2.Type = TType.Struct; - tmp2.ID = 2; + tmp2.ID = 3; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await BagItemConfig.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3888,7 +3935,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "BonusValue"; tmp2.Type = TType.Struct; - tmp2.ID = 3; + tmp2.ID = 4; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await BonusValue.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3897,7 +3944,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CardDetailCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 4; + tmp2.ID = 5; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CardDetailCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3906,7 +3953,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CardPackCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 5; + tmp2.ID = 6; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CardPackCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3915,7 +3962,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CardStickerExchangeCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 6; + tmp2.ID = 7; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CardStickerExchangeCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3924,7 +3971,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CatsGardenMultiplyData"; tmp2.Type = TType.Struct; - tmp2.ID = 7; + tmp2.ID = 8; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CatsGardenMultiplyData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3933,7 +3980,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CatsGardenProgressData"; tmp2.Type = TType.Struct; - tmp2.ID = 8; + tmp2.ID = 9; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CatsGardenProgressData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3942,7 +3989,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CatsGardenSlotData"; tmp2.Type = TType.Struct; - tmp2.ID = 9; + tmp2.ID = 10; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CatsGardenSlotData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3951,7 +3998,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CatsGardenTempleteData"; tmp2.Type = TType.Struct; - tmp2.ID = 10; + tmp2.ID = 11; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CatsGardenTempleteData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3960,7 +4007,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ChampshipCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 11; + tmp2.ID = 12; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ChampshipCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3969,7 +4016,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ChampshipRankReward"; tmp2.Type = TType.Struct; - tmp2.ID = 12; + tmp2.ID = 13; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ChampshipRankReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3978,7 +4025,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ChampshipRankInfo"; tmp2.Type = TType.Struct; - tmp2.ID = 13; + tmp2.ID = 14; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ChampshipRankInfo.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3987,7 +4034,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "OrderScene"; tmp2.Type = TType.Struct; - tmp2.ID = 14; + tmp2.ID = 15; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await OrderScene.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -3996,7 +4043,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ChampshipScoreReward"; tmp2.Type = TType.Struct; - tmp2.ID = 15; + tmp2.ID = 16; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ChampshipScoreReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4005,7 +4052,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CollectionRoomReward"; tmp2.Type = TType.Struct; - tmp2.ID = 16; + tmp2.ID = 17; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CollectionRoomReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4014,7 +4061,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CollectionsRewardsData"; tmp2.Type = TType.Struct; - tmp2.ID = 17; + tmp2.ID = 18; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CollectionsRewardsData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4023,7 +4070,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "CollectionsUnlockLineData"; tmp2.Type = TType.Struct; - tmp2.ID = 18; + tmp2.ID = 19; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await CollectionsUnlockLineData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4032,7 +4079,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ComboGift"; tmp2.Type = TType.Struct; - tmp2.ID = 19; + tmp2.ID = 20; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ComboGift.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4041,7 +4088,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ComboGiftTwo"; tmp2.Type = TType.Struct; - tmp2.ID = 20; + tmp2.ID = 21; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ComboGiftTwo.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4050,7 +4097,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "DailyTaskActiveCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 21; + tmp2.ID = 22; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await DailyTaskActiveCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4059,7 +4106,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "DailyTaskConfig"; tmp2.Type = TType.Struct; - tmp2.ID = 22; + tmp2.ID = 23; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await DailyTaskConfig.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4068,7 +4115,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "DailyTaskDetail"; tmp2.Type = TType.Struct; - tmp2.ID = 23; + tmp2.ID = 24; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await DailyTaskDetail.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4077,7 +4124,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "DailyTaskReward"; tmp2.Type = TType.Struct; - tmp2.ID = 24; + tmp2.ID = 25; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await DailyTaskReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4086,7 +4133,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "DecorateCost"; tmp2.Type = TType.Struct; - tmp2.ID = 25; + tmp2.ID = 26; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await DecorateCost.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4095,7 +4142,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "DecorateConst"; tmp2.Type = TType.Struct; - tmp2.ID = 26; + tmp2.ID = 27; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await DecorateConst.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4104,7 +4151,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "DialogData"; tmp2.Type = TType.Struct; - tmp2.ID = 27; + tmp2.ID = 28; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await DialogData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4113,7 +4160,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "EmiterRetreatData"; tmp2.Type = TType.Struct; - tmp2.ID = 28; + tmp2.ID = 29; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await EmiterRetreatData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4122,7 +4169,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "EmojiData"; tmp2.Type = TType.Struct; - tmp2.ID = 29; + tmp2.ID = 30; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await EmojiData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4131,7 +4178,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "EndlessGift"; tmp2.Type = TType.Struct; - tmp2.ID = 30; + tmp2.ID = 31; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await EndlessGift.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4140,7 +4187,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "EnergyLimitGift"; tmp2.Type = TType.Struct; - tmp2.ID = 31; + tmp2.ID = 32; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await EnergyLimitGift.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4149,7 +4196,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "FrameData"; tmp2.Type = TType.Struct; - tmp2.ID = 32; + tmp2.ID = 33; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await FrameData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4158,7 +4205,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "GrowthFund"; tmp2.Type = TType.Struct; - tmp2.ID = 33; + tmp2.ID = 34; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await GrowthFund.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4167,7 +4214,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "GuessReward"; tmp2.Type = TType.Struct; - tmp2.ID = 34; + tmp2.ID = 35; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await GuessReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4176,7 +4223,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "GuideData"; tmp2.Type = TType.Struct; - tmp2.ID = 35; + tmp2.ID = 36; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await GuideData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4185,7 +4232,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "HandbookReward"; tmp2.Type = TType.Struct; - tmp2.ID = 36; + tmp2.ID = 37; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await HandbookReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4194,7 +4241,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "HeadData"; tmp2.Type = TType.Struct; - tmp2.ID = 37; + tmp2.ID = 38; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await HeadData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4203,7 +4250,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "HowToPlay"; tmp2.Type = TType.Struct; - tmp2.ID = 38; + tmp2.ID = 39; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await HowToPlay.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4212,7 +4259,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "IndoorProgress"; tmp2.Type = TType.Struct; - tmp2.ID = 39; + tmp2.ID = 40; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await IndoorProgress.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4221,7 +4268,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "LanguageData"; tmp2.Type = TType.Struct; - tmp2.ID = 40; + tmp2.ID = 41; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await LanguageData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4230,7 +4277,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "LevelData"; tmp2.Type = TType.Struct; - tmp2.ID = 41; + tmp2.ID = 42; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await LevelData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4239,7 +4286,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "LuckyCatData"; tmp2.Type = TType.Struct; - tmp2.ID = 42; + tmp2.ID = 43; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await LuckyCatData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4248,7 +4295,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "LuckyCatProbability"; tmp2.Type = TType.Struct; - tmp2.ID = 43; + tmp2.ID = 44; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await LuckyCatProbability.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4257,7 +4304,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "MainCardCollect"; tmp2.Type = TType.Struct; - tmp2.ID = 44; + tmp2.ID = 45; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await MainCardCollect.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4266,7 +4313,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "MergeData"; tmp2.Type = TType.Struct; - tmp2.ID = 45; + tmp2.ID = 46; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await MergeData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4275,7 +4322,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "MileStoneDetail"; tmp2.Type = TType.Struct; - tmp2.ID = 46; + tmp2.ID = 47; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await MileStoneDetail.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4284,7 +4331,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "MileStoneReward"; tmp2.Type = TType.Struct; - tmp2.ID = 47; + tmp2.ID = 48; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await MileStoneReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4293,7 +4340,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ChampshipJackpot"; tmp2.Type = TType.Struct; - tmp2.ID = 48; + tmp2.ID = 49; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ChampshipJackpot.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4302,7 +4349,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "MiningReward"; tmp2.Type = TType.Struct; - tmp2.ID = 49; + tmp2.ID = 50; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await MiningReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4311,7 +4358,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "Music"; tmp2.Type = TType.Struct; - tmp2.ID = 50; + tmp2.ID = 51; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await Music.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4320,7 +4367,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "NetAssetData"; tmp2.Type = TType.Struct; - tmp2.ID = 51; + tmp2.ID = 52; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await NetAssetData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4329,7 +4376,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "NetworkItemData"; tmp2.Type = TType.Struct; - tmp2.ID = 52; + tmp2.ID = 53; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await NetworkItemData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4338,7 +4385,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "NewbieDailyTaskCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 53; + tmp2.ID = 54; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await NewbieDailyTaskCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4347,7 +4394,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "NewbieScoreCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 54; + tmp2.ID = 55; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await NewbieScoreCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4356,7 +4403,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "NPCFriendsData"; tmp2.Type = TType.Struct; - tmp2.ID = 55; + tmp2.ID = 56; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await NPCFriendsData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4365,7 +4412,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PassOne"; tmp2.Type = TType.Struct; - tmp2.ID = 56; + tmp2.ID = 57; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PassOne.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4374,7 +4421,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetAdWorkGift"; tmp2.Type = TType.Struct; - tmp2.ID = 57; + tmp2.ID = 58; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetAdWorkGift.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4383,7 +4430,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetAirItem"; tmp2.Type = TType.Struct; - tmp2.ID = 58; + tmp2.ID = 59; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetAirItem.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4392,7 +4439,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetCareItem"; tmp2.Type = TType.Struct; - tmp2.ID = 59; + tmp2.ID = 60; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetCareItem.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4401,7 +4448,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetCoinGift"; tmp2.Type = TType.Struct; - tmp2.ID = 60; + tmp2.ID = 61; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetCoinGift.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4410,7 +4457,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetDailyTaskCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 61; + tmp2.ID = 62; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetDailyTaskCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4419,7 +4466,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetDressItem"; tmp2.Type = TType.Struct; - tmp2.ID = 62; + tmp2.ID = 63; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetDressItem.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4428,7 +4475,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetHomeDecorateList"; tmp2.Type = TType.Struct; - tmp2.ID = 63; + tmp2.ID = 64; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetHomeDecorateList.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4437,7 +4484,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetPlayJoyItem"; tmp2.Type = TType.Struct; - tmp2.ID = 64; + tmp2.ID = 65; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetPlayJoyItem.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4446,7 +4493,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetRoomUnlockCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 65; + tmp2.ID = 66; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetRoomUnlockCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4455,7 +4502,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PetShopItem"; tmp2.Type = TType.Struct; - tmp2.ID = 66; + tmp2.ID = 67; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PetShopItem.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4464,7 +4511,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PlayHomeDecorateCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 67; + tmp2.ID = 68; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PlayHomeDecorateCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4473,7 +4520,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PromotionPack"; tmp2.Type = TType.Struct; - tmp2.ID = 68; + tmp2.ID = 69; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PromotionPack.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4482,7 +4529,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "RaceReward"; tmp2.Type = TType.Struct; - tmp2.ID = 69; + tmp2.ID = 70; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await RaceReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4491,7 +4538,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "RankData"; tmp2.Type = TType.Struct; - tmp2.ID = 70; + tmp2.ID = 71; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await RankData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4500,7 +4547,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "RegionData"; tmp2.Type = TType.Struct; - tmp2.ID = 71; + tmp2.ID = 72; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await RegionData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4509,7 +4556,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "SceneData"; tmp2.Type = TType.Struct; - tmp2.ID = 72; + tmp2.ID = 73; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await SceneData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4518,7 +4565,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "SevenLoginCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 73; + tmp2.ID = 74; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await SevenLoginCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4527,7 +4574,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ShopItem"; tmp2.Type = TType.Struct; - tmp2.ID = 74; + tmp2.ID = 75; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ShopItem.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4536,7 +4583,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ShopPack"; tmp2.Type = TType.Struct; - tmp2.ID = 75; + tmp2.ID = 76; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ShopPack.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4545,7 +4592,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ShopSpecial"; tmp2.Type = TType.Struct; - tmp2.ID = 76; + tmp2.ID = 77; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ShopSpecial.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4554,7 +4601,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "SignInData"; tmp2.Type = TType.Struct; - tmp2.ID = 77; + tmp2.ID = 78; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await SignInData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4563,7 +4610,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "Sound"; tmp2.Type = TType.Struct; - tmp2.ID = 78; + tmp2.ID = 79; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await Sound.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4572,7 +4619,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "StartMerge"; tmp2.Type = TType.Struct; - tmp2.ID = 79; + tmp2.ID = 80; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await StartMerge.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4581,7 +4628,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "StartOrder"; tmp2.Type = TType.Struct; - tmp2.ID = 80; + tmp2.ID = 81; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await StartOrder.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4590,7 +4637,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "TurnTableCfg"; tmp2.Type = TType.Struct; - tmp2.ID = 81; + tmp2.ID = 82; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await TurnTableCfg.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4599,7 +4646,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "UIForm"; tmp2.Type = TType.Struct; - tmp2.ID = 82; + tmp2.ID = 83; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await UIForm.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4608,7 +4655,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "WashStartMerge"; tmp2.Type = TType.Struct; - tmp2.ID = 83; + tmp2.ID = 84; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await WashStartMerge.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4617,7 +4664,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "WeekTaskReward"; tmp2.Type = TType.Struct; - tmp2.ID = 84; + tmp2.ID = 85; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await WeekTaskReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4626,7 +4673,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "LevelLauncherData"; tmp2.Type = TType.Struct; - tmp2.ID = 85; + tmp2.ID = 86; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await LevelLauncherData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4635,7 +4682,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "NickNameRandomData"; tmp2.Type = TType.Struct; - tmp2.ID = 86; + tmp2.ID = 87; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await NickNameRandomData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4644,7 +4691,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ConstantString"; tmp2.Type = TType.Struct; - tmp2.ID = 87; + tmp2.ID = 88; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ConstantString.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4653,7 +4700,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ConstantInt"; tmp2.Type = TType.Struct; - tmp2.ID = 88; + tmp2.ID = 89; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ConstantInt.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4662,7 +4709,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "GuideReward"; tmp2.Type = TType.Struct; - tmp2.ID = 89; + tmp2.ID = 90; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await GuideReward.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4671,7 +4718,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "FriendConst"; tmp2.Type = TType.Struct; - tmp2.ID = 90; + tmp2.ID = 91; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await FriendConst.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4680,7 +4727,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "ChargeConst"; tmp2.Type = TType.Struct; - tmp2.ID = 91; + tmp2.ID = 92; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await ChargeConst.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4689,7 +4736,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "AmbientData"; tmp2.Type = TType.Struct; - tmp2.ID = 92; + tmp2.ID = 93; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await AmbientData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4698,7 +4745,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "FurShop"; tmp2.Type = TType.Struct; - tmp2.ID = 93; + tmp2.ID = 94; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await FurShop.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4707,7 +4754,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "FakePlayroomDataMould"; tmp2.Type = TType.Struct; - tmp2.ID = 94; + tmp2.ID = 95; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await FakePlayroomDataMould.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4716,7 +4763,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "LimitedTimeEventData"; tmp2.Type = TType.Struct; - tmp2.ID = 95; + tmp2.ID = 96; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await LimitedTimeEventData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4725,7 +4772,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "FriendInviteRewardData"; tmp2.Type = TType.Struct; - tmp2.ID = 96; + tmp2.ID = 97; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await FriendInviteRewardData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4734,7 +4781,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "LimitedTimeEventConst"; tmp2.Type = TType.Struct; - tmp2.ID = 97; + tmp2.ID = 98; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await LimitedTimeEventConst.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4743,7 +4790,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "BuildingFeverDecorateOff"; tmp2.Type = TType.Struct; - tmp2.ID = 98; + tmp2.ID = 99; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await BuildingFeverDecorateOff.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4752,7 +4799,7 @@ namespace Byway.Thrift.Data { tmp2.Name = "PLevelData"; tmp2.Type = TType.Struct; - tmp2.ID = 99; + tmp2.ID = 100; await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); await PLevelData.WriteAsync(oprot, cancellationToken); await oprot.WriteFieldEndAsync(cancellationToken); @@ -4770,7 +4817,8 @@ namespace Byway.Thrift.Data { if (!(that is AllConfigs other)) return false; if (ReferenceEquals(this, other)) return true; - return ((__isset.AdGiftData == other.__isset.AdGiftData) && ((!__isset.AdGiftData) || (global::System.Object.Equals(AdGiftData, other.AdGiftData)))) + return ((__isset.MapBuilding == other.__isset.MapBuilding) && ((!__isset.MapBuilding) || (global::System.Object.Equals(MapBuilding, other.MapBuilding)))) + && ((__isset.AdGiftData == other.__isset.AdGiftData) && ((!__isset.AdGiftData) || (global::System.Object.Equals(AdGiftData, other.AdGiftData)))) && ((__isset.BagItemConfig == other.__isset.BagItemConfig) && ((!__isset.BagItemConfig) || (global::System.Object.Equals(BagItemConfig, other.BagItemConfig)))) && ((__isset.BonusValue == other.__isset.BonusValue) && ((!__isset.BonusValue) || (global::System.Object.Equals(BonusValue, other.BonusValue)))) && ((__isset.CardDetailCfg == other.__isset.CardDetailCfg) && ((!__isset.CardDetailCfg) || (global::System.Object.Equals(CardDetailCfg, other.CardDetailCfg)))) @@ -4874,6 +4922,10 @@ namespace Byway.Thrift.Data public override int GetHashCode() { int hashcode = 157; unchecked { + if((MapBuilding != null) && __isset.MapBuilding) + { + hashcode = (hashcode * 397) + MapBuilding.GetHashCode(); + } if((AdGiftData != null) && __isset.AdGiftData) { hashcode = (hashcode * 397) + AdGiftData.GetHashCode(); @@ -5278,6 +5330,12 @@ namespace Byway.Thrift.Data { var tmp3 = new StringBuilder("AllConfigs("); int tmp4 = 0; + if((MapBuilding != null) && __isset.MapBuilding) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("MapBuilding: "); + MapBuilding.ToString(tmp3); + } if((AdGiftData != null) && __isset.AdGiftData) { if(0 < tmp4++) { tmp3.Append(", "); } diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs new file mode 100644 index 0000000..619bf3c --- /dev/null +++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs @@ -0,0 +1,65 @@ +/** + * + * Autogenerated by Thrift Compiler (0.22.0) + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * + */ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Thrift; +using Thrift.Collections; +using System.Runtime.Serialization; +using Thrift.Protocol; + + +#pragma warning disable IDE0079 // remove unnecessary pragmas +#pragma warning disable IDE0017 // object init can be simplified +#pragma warning disable IDE0028 // collection init can be simplified +#pragma warning disable IDE0305 // collection init can be simplified +#pragma warning disable IDE0034 // simplify default expression +#pragma warning disable IDE0066 // use switch expression +#pragma warning disable IDE0090 // simplify new expression +#pragma warning disable IDE0290 // use primary CTOR +#pragma warning disable IDE1006 // parts of the code use IDL spelling +#pragma warning disable CA1822 // empty DeepCopy() methods still non-static +#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions + +namespace Byway.Thrift.Data +{ + public static class MapBuildingExtensions + { + public static bool Equals(this Dictionary instance, object that) + { + if (!(that is Dictionary other)) return false; + if (ReferenceEquals(instance, other)) return true; + + return TCollections.Equals(instance, other); + } + + + public static int GetHashCode(this Dictionary instance) + { + return TCollections.GetHashCode(instance); + } + + + public static Dictionary DeepCopy(this Dictionary source) + { + if (source == null) + return null; + + var tmp15 = new Dictionary(source.Count); + foreach (var pair in source) + tmp15.Add(pair.Key, (pair.Value != null) ? pair.Value.DeepCopy() : null); + return tmp15; + } + + + } +} diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs.meta new file mode 100644 index 0000000..957069b --- /dev/null +++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.Extensions.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e8c0784159694f64bb62fdf4a9c01e72 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs new file mode 100644 index 0000000..49d84ea --- /dev/null +++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs @@ -0,0 +1,214 @@ +/** + * + * Autogenerated by Thrift Compiler (0.22.0) + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * + */ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Thrift; +using Thrift.Collections; +using System.Runtime.Serialization; +using Thrift.Protocol; +using Thrift.Protocol.Entities; +using Thrift.Protocol.Utilities; +using Thrift.Transport; +using Thrift.Transport.Client; + + +#pragma warning disable IDE0079 // remove unnecessary pragmas +#pragma warning disable IDE0017 // object init can be simplified +#pragma warning disable IDE0028 // collection init can be simplified +#pragma warning disable IDE0305 // collection init can be simplified +#pragma warning disable IDE0034 // simplify default expression +#pragma warning disable IDE0066 // use switch expression +#pragma warning disable IDE0090 // simplify new expression +#pragma warning disable IDE0290 // use primary CTOR +#pragma warning disable IDE1006 // parts of the code use IDL spelling +#pragma warning disable CA1822 // empty DeepCopy() methods still non-static +#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions + +namespace Byway.Thrift.Data +{ + + [DataContract(Namespace="")] + public partial class MapBuilding : TBase + { + private Dictionary _mapbuildings; + + [DataMember(Order = 0)] + public Dictionary Mapbuildings + { + get + { + return _mapbuildings; + } + set + { + __isset.@mapbuildings = true; + this._mapbuildings = value; + } + } + + + [DataMember(Order = 1)] + public Isset __isset; + [DataContract] + public struct Isset + { + [DataMember] + public bool @mapbuildings; + } + + #region XmlSerializer support + + public bool ShouldSerializeMapbuildings() + { + return __isset.@mapbuildings; + } + + #endregion XmlSerializer support + + public MapBuilding() + { + } + + public MapBuilding DeepCopy() + { + var tmp5 = new MapBuilding(); + if((Mapbuildings != null) && __isset.@mapbuildings) + { + tmp5.Mapbuildings = this.Mapbuildings.DeepCopy(); + } + tmp5.__isset.@mapbuildings = this.__isset.@mapbuildings; + return tmp5; + } + + public async global::System.Threading.Tasks.Task ReadAsync(TProtocol iprot, CancellationToken cancellationToken) + { + iprot.IncrementRecursionDepth(); + try + { + TField field; + await iprot.ReadStructBeginAsync(cancellationToken); + while (true) + { + field = await iprot.ReadFieldBeginAsync(cancellationToken); + if (field.Type == TType.Stop) + { + break; + } + + switch (field.ID) + { + case 1: + if (field.Type == TType.Map) + { + { + var _map6 = await iprot.ReadMapBeginAsync(cancellationToken); + Mapbuildings = new Dictionary(_map6.Count); + for(int _i7 = 0; _i7 < _map6.Count; ++_i7) + { + int _key8; + global::Byway.Thrift.Data.MapBuildingItem _val9; + _key8 = await iprot.ReadI32Async(cancellationToken); + _val9 = new global::Byway.Thrift.Data.MapBuildingItem(); + await _val9.ReadAsync(iprot, cancellationToken); + Mapbuildings[_key8] = _val9; + } + await iprot.ReadMapEndAsync(cancellationToken); + } + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + default: + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + break; + } + + await iprot.ReadFieldEndAsync(cancellationToken); + } + + await iprot.ReadStructEndAsync(cancellationToken); + } + finally + { + iprot.DecrementRecursionDepth(); + } + } + + public async global::System.Threading.Tasks.Task WriteAsync(TProtocol oprot, CancellationToken cancellationToken) + { + oprot.IncrementRecursionDepth(); + try + { + var tmp10 = new TStruct("MapBuilding"); + await oprot.WriteStructBeginAsync(tmp10, cancellationToken); + var tmp11 = new TField(); + if((Mapbuildings != null) && __isset.@mapbuildings) + { + tmp11.Name = "mapbuildings"; + tmp11.Type = TType.Map; + tmp11.ID = 1; + await oprot.WriteFieldBeginAsync(tmp11, cancellationToken); + await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Mapbuildings.Count), cancellationToken); + foreach (int _iter12 in Mapbuildings.Keys) + { + await oprot.WriteI32Async(_iter12, cancellationToken); + await Mapbuildings[_iter12].WriteAsync(oprot, cancellationToken); + } + await oprot.WriteMapEndAsync(cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + await oprot.WriteFieldStopAsync(cancellationToken); + await oprot.WriteStructEndAsync(cancellationToken); + } + finally + { + oprot.DecrementRecursionDepth(); + } + } + + public override bool Equals(object that) + { + if (!(that is MapBuilding other)) return false; + if (ReferenceEquals(this, other)) return true; + return ((__isset.@mapbuildings == other.__isset.@mapbuildings) && ((!__isset.@mapbuildings) || (TCollections.Equals(Mapbuildings, other.Mapbuildings)))); + } + + public override int GetHashCode() { + int hashcode = 157; + unchecked { + if((Mapbuildings != null) && __isset.@mapbuildings) + { + hashcode = (hashcode * 397) + TCollections.GetHashCode(Mapbuildings); + } + } + return hashcode; + } + + public override string ToString() + { + var tmp13 = new StringBuilder("MapBuilding("); + int tmp14 = 0; + if((Mapbuildings != null) && __isset.@mapbuildings) + { + if(0 < tmp14++) { tmp13.Append(", "); } + tmp13.Append("Mapbuildings: "); + Mapbuildings.ToString(tmp13); + } + tmp13.Append(')'); + return tmp13.ToString(); + } + } + +} diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs.meta new file mode 100644 index 0000000..956d15a --- /dev/null +++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuilding.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7301c6a7d8b332242b91a9f4fb03e33a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs new file mode 100644 index 0000000..d174250 --- /dev/null +++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs @@ -0,0 +1,822 @@ +/** + * + * Autogenerated by Thrift Compiler (0.22.0) + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * + */ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Thrift; +using Thrift.Collections; +using System.Runtime.Serialization; +using Thrift.Protocol; +using Thrift.Protocol.Entities; +using Thrift.Protocol.Utilities; +using Thrift.Transport; +using Thrift.Transport.Client; + + +#pragma warning disable IDE0079 // remove unnecessary pragmas +#pragma warning disable IDE0017 // object init can be simplified +#pragma warning disable IDE0028 // collection init can be simplified +#pragma warning disable IDE0305 // collection init can be simplified +#pragma warning disable IDE0034 // simplify default expression +#pragma warning disable IDE0066 // use switch expression +#pragma warning disable IDE0090 // simplify new expression +#pragma warning disable IDE0290 // use primary CTOR +#pragma warning disable IDE1006 // parts of the code use IDL spelling +#pragma warning disable CA1822 // empty DeepCopy() methods still non-static +#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions + +namespace Byway.Thrift.Data +{ + + [DataContract(Namespace="")] + public partial class MapBuildingItem : TBase + { + private int _Id; + private int _Area; + private int _Building; + private int _BuildingUnlockLv; + private int _BuildNum; + private int _BuildLv; + private int _EXPReward; + private string _ProducerReward; + private int _Parts; + private string _PetCoins; + private string _FogCover; + private string _BuildingIcon; + + [DataMember(Order = 0)] + public int Id + { + get + { + return _Id; + } + set + { + __isset.Id = true; + this._Id = value; + } + } + + [DataMember(Order = 0)] + public int Area + { + get + { + return _Area; + } + set + { + __isset.Area = true; + this._Area = value; + } + } + + [DataMember(Order = 0)] + public int Building + { + get + { + return _Building; + } + set + { + __isset.Building = true; + this._Building = value; + } + } + + [DataMember(Order = 0)] + public int BuildingUnlockLv + { + get + { + return _BuildingUnlockLv; + } + set + { + __isset.BuildingUnlockLv = true; + this._BuildingUnlockLv = value; + } + } + + [DataMember(Order = 0)] + public int BuildNum + { + get + { + return _BuildNum; + } + set + { + __isset.BuildNum = true; + this._BuildNum = value; + } + } + + [DataMember(Order = 0)] + public int BuildLv + { + get + { + return _BuildLv; + } + set + { + __isset.BuildLv = true; + this._BuildLv = value; + } + } + + [DataMember(Order = 0)] + public int EXPReward + { + get + { + return _EXPReward; + } + set + { + __isset.EXPReward = true; + this._EXPReward = value; + } + } + + [DataMember(Order = 0)] + public string ProducerReward + { + get + { + return _ProducerReward; + } + set + { + __isset.ProducerReward = true; + this._ProducerReward = value; + } + } + + [DataMember(Order = 0)] + public int Parts + { + get + { + return _Parts; + } + set + { + __isset.Parts = true; + this._Parts = value; + } + } + + [DataMember(Order = 0)] + public string PetCoins + { + get + { + return _PetCoins; + } + set + { + __isset.PetCoins = true; + this._PetCoins = value; + } + } + + [DataMember(Order = 0)] + public string FogCover + { + get + { + return _FogCover; + } + set + { + __isset.FogCover = true; + this._FogCover = value; + } + } + + [DataMember(Order = 0)] + public string BuildingIcon + { + get + { + return _BuildingIcon; + } + set + { + __isset.BuildingIcon = true; + this._BuildingIcon = value; + } + } + + + [DataMember(Order = 1)] + public Isset __isset; + [DataContract] + public struct Isset + { + [DataMember] + public bool Id; + [DataMember] + public bool Area; + [DataMember] + public bool Building; + [DataMember] + public bool BuildingUnlockLv; + [DataMember] + public bool BuildNum; + [DataMember] + public bool BuildLv; + [DataMember] + public bool EXPReward; + [DataMember] + public bool ProducerReward; + [DataMember] + public bool Parts; + [DataMember] + public bool PetCoins; + [DataMember] + public bool FogCover; + [DataMember] + public bool BuildingIcon; + } + + #region XmlSerializer support + + public bool ShouldSerializeId() + { + return __isset.Id; + } + + public bool ShouldSerializeArea() + { + return __isset.Area; + } + + public bool ShouldSerializeBuilding() + { + return __isset.Building; + } + + public bool ShouldSerializeBuildingUnlockLv() + { + return __isset.BuildingUnlockLv; + } + + public bool ShouldSerializeBuildNum() + { + return __isset.BuildNum; + } + + public bool ShouldSerializeBuildLv() + { + return __isset.BuildLv; + } + + public bool ShouldSerializeEXPReward() + { + return __isset.EXPReward; + } + + public bool ShouldSerializeProducerReward() + { + return __isset.ProducerReward; + } + + public bool ShouldSerializeParts() + { + return __isset.Parts; + } + + public bool ShouldSerializePetCoins() + { + return __isset.PetCoins; + } + + public bool ShouldSerializeFogCover() + { + return __isset.FogCover; + } + + public bool ShouldSerializeBuildingIcon() + { + return __isset.BuildingIcon; + } + + #endregion XmlSerializer support + + public MapBuildingItem() + { + } + + public MapBuildingItem DeepCopy() + { + var tmp0 = new MapBuildingItem(); + if(__isset.Id) + { + tmp0.Id = this.Id; + } + tmp0.__isset.Id = this.__isset.Id; + if(__isset.Area) + { + tmp0.Area = this.Area; + } + tmp0.__isset.Area = this.__isset.Area; + if(__isset.Building) + { + tmp0.Building = this.Building; + } + tmp0.__isset.Building = this.__isset.Building; + if(__isset.BuildingUnlockLv) + { + tmp0.BuildingUnlockLv = this.BuildingUnlockLv; + } + tmp0.__isset.BuildingUnlockLv = this.__isset.BuildingUnlockLv; + if(__isset.BuildNum) + { + tmp0.BuildNum = this.BuildNum; + } + tmp0.__isset.BuildNum = this.__isset.BuildNum; + if(__isset.BuildLv) + { + tmp0.BuildLv = this.BuildLv; + } + tmp0.__isset.BuildLv = this.__isset.BuildLv; + if(__isset.EXPReward) + { + tmp0.EXPReward = this.EXPReward; + } + tmp0.__isset.EXPReward = this.__isset.EXPReward; + if((ProducerReward != null) && __isset.ProducerReward) + { + tmp0.ProducerReward = this.ProducerReward; + } + tmp0.__isset.ProducerReward = this.__isset.ProducerReward; + if(__isset.Parts) + { + tmp0.Parts = this.Parts; + } + tmp0.__isset.Parts = this.__isset.Parts; + if((PetCoins != null) && __isset.PetCoins) + { + tmp0.PetCoins = this.PetCoins; + } + tmp0.__isset.PetCoins = this.__isset.PetCoins; + if((FogCover != null) && __isset.FogCover) + { + tmp0.FogCover = this.FogCover; + } + tmp0.__isset.FogCover = this.__isset.FogCover; + if((BuildingIcon != null) && __isset.BuildingIcon) + { + tmp0.BuildingIcon = this.BuildingIcon; + } + tmp0.__isset.BuildingIcon = this.__isset.BuildingIcon; + return tmp0; + } + + public async global::System.Threading.Tasks.Task ReadAsync(TProtocol iprot, CancellationToken cancellationToken) + { + iprot.IncrementRecursionDepth(); + try + { + TField field; + await iprot.ReadStructBeginAsync(cancellationToken); + while (true) + { + field = await iprot.ReadFieldBeginAsync(cancellationToken); + if (field.Type == TType.Stop) + { + break; + } + + switch (field.ID) + { + case 1: + if (field.Type == TType.I32) + { + Id = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 2: + if (field.Type == TType.I32) + { + Area = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 3: + if (field.Type == TType.I32) + { + Building = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 4: + if (field.Type == TType.I32) + { + BuildingUnlockLv = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 5: + if (field.Type == TType.I32) + { + BuildNum = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 6: + if (field.Type == TType.I32) + { + BuildLv = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 7: + if (field.Type == TType.I32) + { + EXPReward = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 8: + if (field.Type == TType.String) + { + ProducerReward = await iprot.ReadStringAsync(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 9: + if (field.Type == TType.I32) + { + Parts = await iprot.ReadI32Async(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 10: + if (field.Type == TType.String) + { + PetCoins = await iprot.ReadStringAsync(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 11: + if (field.Type == TType.String) + { + FogCover = await iprot.ReadStringAsync(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + case 12: + if (field.Type == TType.String) + { + BuildingIcon = await iprot.ReadStringAsync(cancellationToken); + } + else + { + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + } + break; + default: + await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken); + break; + } + + await iprot.ReadFieldEndAsync(cancellationToken); + } + + await iprot.ReadStructEndAsync(cancellationToken); + } + finally + { + iprot.DecrementRecursionDepth(); + } + } + + public async global::System.Threading.Tasks.Task WriteAsync(TProtocol oprot, CancellationToken cancellationToken) + { + oprot.IncrementRecursionDepth(); + try + { + var tmp1 = new TStruct("MapBuildingItem"); + await oprot.WriteStructBeginAsync(tmp1, cancellationToken); + var tmp2 = new TField(); + if(__isset.Id) + { + tmp2.Name = "Id"; + tmp2.Type = TType.I32; + tmp2.ID = 1; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(Id, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if(__isset.Area) + { + tmp2.Name = "Area"; + tmp2.Type = TType.I32; + tmp2.ID = 2; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(Area, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if(__isset.Building) + { + tmp2.Name = "Building"; + tmp2.Type = TType.I32; + tmp2.ID = 3; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(Building, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if(__isset.BuildingUnlockLv) + { + tmp2.Name = "BuildingUnlockLv"; + tmp2.Type = TType.I32; + tmp2.ID = 4; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(BuildingUnlockLv, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if(__isset.BuildNum) + { + tmp2.Name = "BuildNum"; + tmp2.Type = TType.I32; + tmp2.ID = 5; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(BuildNum, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if(__isset.BuildLv) + { + tmp2.Name = "BuildLv"; + tmp2.Type = TType.I32; + tmp2.ID = 6; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(BuildLv, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if(__isset.EXPReward) + { + tmp2.Name = "EXPReward"; + tmp2.Type = TType.I32; + tmp2.ID = 7; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(EXPReward, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if((ProducerReward != null) && __isset.ProducerReward) + { + tmp2.Name = "ProducerReward"; + tmp2.Type = TType.String; + tmp2.ID = 8; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteStringAsync(ProducerReward, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if(__isset.Parts) + { + tmp2.Name = "Parts"; + tmp2.Type = TType.I32; + tmp2.ID = 9; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteI32Async(Parts, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if((PetCoins != null) && __isset.PetCoins) + { + tmp2.Name = "PetCoins"; + tmp2.Type = TType.String; + tmp2.ID = 10; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteStringAsync(PetCoins, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if((FogCover != null) && __isset.FogCover) + { + tmp2.Name = "FogCover"; + tmp2.Type = TType.String; + tmp2.ID = 11; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteStringAsync(FogCover, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + if((BuildingIcon != null) && __isset.BuildingIcon) + { + tmp2.Name = "BuildingIcon"; + tmp2.Type = TType.String; + tmp2.ID = 12; + await oprot.WriteFieldBeginAsync(tmp2, cancellationToken); + await oprot.WriteStringAsync(BuildingIcon, cancellationToken); + await oprot.WriteFieldEndAsync(cancellationToken); + } + await oprot.WriteFieldStopAsync(cancellationToken); + await oprot.WriteStructEndAsync(cancellationToken); + } + finally + { + oprot.DecrementRecursionDepth(); + } + } + + public override bool Equals(object that) + { + if (!(that is MapBuildingItem other)) return false; + if (ReferenceEquals(this, other)) return true; + return ((__isset.Id == other.__isset.Id) && ((!__isset.Id) || (global::System.Object.Equals(Id, other.Id)))) + && ((__isset.Area == other.__isset.Area) && ((!__isset.Area) || (global::System.Object.Equals(Area, other.Area)))) + && ((__isset.Building == other.__isset.Building) && ((!__isset.Building) || (global::System.Object.Equals(Building, other.Building)))) + && ((__isset.BuildingUnlockLv == other.__isset.BuildingUnlockLv) && ((!__isset.BuildingUnlockLv) || (global::System.Object.Equals(BuildingUnlockLv, other.BuildingUnlockLv)))) + && ((__isset.BuildNum == other.__isset.BuildNum) && ((!__isset.BuildNum) || (global::System.Object.Equals(BuildNum, other.BuildNum)))) + && ((__isset.BuildLv == other.__isset.BuildLv) && ((!__isset.BuildLv) || (global::System.Object.Equals(BuildLv, other.BuildLv)))) + && ((__isset.EXPReward == other.__isset.EXPReward) && ((!__isset.EXPReward) || (global::System.Object.Equals(EXPReward, other.EXPReward)))) + && ((__isset.ProducerReward == other.__isset.ProducerReward) && ((!__isset.ProducerReward) || (global::System.Object.Equals(ProducerReward, other.ProducerReward)))) + && ((__isset.Parts == other.__isset.Parts) && ((!__isset.Parts) || (global::System.Object.Equals(Parts, other.Parts)))) + && ((__isset.PetCoins == other.__isset.PetCoins) && ((!__isset.PetCoins) || (global::System.Object.Equals(PetCoins, other.PetCoins)))) + && ((__isset.FogCover == other.__isset.FogCover) && ((!__isset.FogCover) || (global::System.Object.Equals(FogCover, other.FogCover)))) + && ((__isset.BuildingIcon == other.__isset.BuildingIcon) && ((!__isset.BuildingIcon) || (global::System.Object.Equals(BuildingIcon, other.BuildingIcon)))); + } + + public override int GetHashCode() { + int hashcode = 157; + unchecked { + if(__isset.Id) + { + hashcode = (hashcode * 397) + Id.GetHashCode(); + } + if(__isset.Area) + { + hashcode = (hashcode * 397) + Area.GetHashCode(); + } + if(__isset.Building) + { + hashcode = (hashcode * 397) + Building.GetHashCode(); + } + if(__isset.BuildingUnlockLv) + { + hashcode = (hashcode * 397) + BuildingUnlockLv.GetHashCode(); + } + if(__isset.BuildNum) + { + hashcode = (hashcode * 397) + BuildNum.GetHashCode(); + } + if(__isset.BuildLv) + { + hashcode = (hashcode * 397) + BuildLv.GetHashCode(); + } + if(__isset.EXPReward) + { + hashcode = (hashcode * 397) + EXPReward.GetHashCode(); + } + if((ProducerReward != null) && __isset.ProducerReward) + { + hashcode = (hashcode * 397) + ProducerReward.GetHashCode(); + } + if(__isset.Parts) + { + hashcode = (hashcode * 397) + Parts.GetHashCode(); + } + if((PetCoins != null) && __isset.PetCoins) + { + hashcode = (hashcode * 397) + PetCoins.GetHashCode(); + } + if((FogCover != null) && __isset.FogCover) + { + hashcode = (hashcode * 397) + FogCover.GetHashCode(); + } + if((BuildingIcon != null) && __isset.BuildingIcon) + { + hashcode = (hashcode * 397) + BuildingIcon.GetHashCode(); + } + } + return hashcode; + } + + public override string ToString() + { + var tmp3 = new StringBuilder("MapBuildingItem("); + int tmp4 = 0; + if(__isset.Id) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("Id: "); + Id.ToString(tmp3); + } + if(__isset.Area) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("Area: "); + Area.ToString(tmp3); + } + if(__isset.Building) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("Building: "); + Building.ToString(tmp3); + } + if(__isset.BuildingUnlockLv) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("BuildingUnlockLv: "); + BuildingUnlockLv.ToString(tmp3); + } + if(__isset.BuildNum) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("BuildNum: "); + BuildNum.ToString(tmp3); + } + if(__isset.BuildLv) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("BuildLv: "); + BuildLv.ToString(tmp3); + } + if(__isset.EXPReward) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("EXPReward: "); + EXPReward.ToString(tmp3); + } + if((ProducerReward != null) && __isset.ProducerReward) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("ProducerReward: "); + ProducerReward.ToString(tmp3); + } + if(__isset.Parts) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("Parts: "); + Parts.ToString(tmp3); + } + if((PetCoins != null) && __isset.PetCoins) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("PetCoins: "); + PetCoins.ToString(tmp3); + } + if((FogCover != null) && __isset.FogCover) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("FogCover: "); + FogCover.ToString(tmp3); + } + if((BuildingIcon != null) && __isset.BuildingIcon) + { + if(0 < tmp4++) { tmp3.Append(", "); } + tmp3.Append("BuildingIcon: "); + BuildingIcon.ToString(tmp3); + } + tmp3.Append(')'); + return tmp3.ToString(); + } + } + +} diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs.meta new file mode 100644 index 0000000..3aa6fb3 --- /dev/null +++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/MapBuildingItem.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6afda99799f488549a2c3fbc7d94cc1a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: