diff --git a/ConfigData.meta b/ConfigData.meta
new file mode 100644
index 0000000..5454b3a
--- /dev/null
+++ b/ConfigData.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 5006eb7517fec2542999e39ad38f5853
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/ConfigData/AllConfigs.bytes b/ConfigData/AllConfigs.bytes
new file mode 100644
index 0000000..6ea3ed5
Binary files /dev/null and b/ConfigData/AllConfigs.bytes differ
diff --git a/ConfigData/AllConfigs.bytes.meta b/ConfigData/AllConfigs.bytes.meta
new file mode 100644
index 0000000..ab5f6f9
--- /dev/null
+++ b/ConfigData/AllConfigs.bytes.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 865180ff6f8024d40a40fff8f2679c6a
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/README.md.meta b/README.md.meta
new file mode 100644
index 0000000..859d9ed
--- /dev/null
+++ b/README.md.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: f6be362d2d856334d95a3fcd2fc3b96a
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts.meta b/Scripts.meta
new file mode 100644
index 0000000..33b3df3
--- /dev/null
+++ b/Scripts.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ec87753a2f1675840be3c8871484d672
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated.meta b/Scripts/DR_Generated.meta
new file mode 100644
index 0000000..7a923f4
--- /dev/null
+++ b/Scripts/DR_Generated.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 939a969213fceda41bf0ce252e1f54de
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRAdGiftData.cs b/Scripts/DR_Generated/DRAdGiftData.cs
new file mode 100644
index 0000000..9c267a9
--- /dev/null
+++ b/Scripts/DR_Generated/DRAdGiftData.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: AdGiftData
+// 数据类: AdGiftDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// AdGiftData 数据行
+ ///
+ public class DRAdGiftData : DataRowBase
+ {
+ private AdGiftDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// NeedScore
+ ///
+ public int NeedScore
+ {
+ get
+ {
+ return _configData?.NeedScore ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Adgiftdatas != null)
+ {
+ config.Adgiftdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRAdGiftData.cs.meta b/Scripts/DR_Generated/DRAdGiftData.cs.meta
new file mode 100644
index 0000000..b4afb4f
--- /dev/null
+++ b/Scripts/DR_Generated/DRAdGiftData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 5cf3d35cb7b3fcc42aafcf4fbb7e8216
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRBagItemConfig.cs b/Scripts/DR_Generated/DRBagItemConfig.cs
new file mode 100644
index 0000000..da049f1
--- /dev/null
+++ b/Scripts/DR_Generated/DRBagItemConfig.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: BagItemConfig
+// 数据类: BagItemConfigItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// BagItemConfig 数据行
+ ///
+ public class DRBagItemConfig : DataRowBase
+ {
+ private BagItemConfigItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// ItemId
+ ///
+ public int ItemId
+ {
+ get
+ {
+ return _configData?.ItemId ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// TrueId
+ ///
+ public int TrueId
+ {
+ get
+ {
+ return _configData?.TrueId ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Bagitemconfigs != null)
+ {
+ config.Bagitemconfigs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRBagItemConfig.cs.meta b/Scripts/DR_Generated/DRBagItemConfig.cs.meta
new file mode 100644
index 0000000..c069ccc
--- /dev/null
+++ b/Scripts/DR_Generated/DRBagItemConfig.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: cb5eceb44876f84458eb93d57a5e990f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRBonusValue.cs b/Scripts/DR_Generated/DRBonusValue.cs
new file mode 100644
index 0000000..c035390
--- /dev/null
+++ b/Scripts/DR_Generated/DRBonusValue.cs
@@ -0,0 +1,111 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: BonusValue
+// 数据类: BonusValueItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// BonusValue 数据行
+ ///
+ public class DRBonusValue : DataRowBase
+ {
+ private BonusValueItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public string Type
+ {
+ get
+ {
+ return _configData?.Type ?? "";
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// Price
+ ///
+ public float Price
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price ?? 0.0);
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// OldPrice
+ ///
+ public float OldPrice
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.OldPrice ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Bonusvalues != null)
+ {
+ config.Bonusvalues.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRBonusValue.cs.meta b/Scripts/DR_Generated/DRBonusValue.cs.meta
new file mode 100644
index 0000000..c105473
--- /dev/null
+++ b/Scripts/DR_Generated/DRBonusValue.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9900a483e62afed4e86f43b9bc4a64dc
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCardDetailCfg.cs b/Scripts/DR_Generated/DRCardDetailCfg.cs
new file mode 100644
index 0000000..6d3f65a
--- /dev/null
+++ b/Scripts/DR_Generated/DRCardDetailCfg.cs
@@ -0,0 +1,144 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CardDetailCfg
+// 数据类: CardDetailCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CardDetailCfg 数据行
+ ///
+ public class DRCardDetailCfg : DataRowBase
+ {
+ private CardDetailCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// PictureAlbum
+ ///
+ public int PictureAlbum
+ {
+ get
+ {
+ return _configData?.PictureAlbum ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Color
+ ///
+ public int Color
+ {
+ get
+ {
+ return _configData?.Color ?? 0;
+ }
+ }
+
+ ///
+ /// Star
+ ///
+ public int Star
+ {
+ get
+ {
+ return _configData?.Star ?? 0;
+ }
+ }
+
+ ///
+ /// ImageRes
+ ///
+ public string ImageRes
+ {
+ get
+ {
+ return _configData?.ImageRes ?? "";
+ }
+ }
+
+ ///
+ /// IsGold
+ ///
+ public int IsGold
+ {
+ get
+ {
+ return _configData?.IsGold ?? 0;
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// Round
+ ///
+ public int Round
+ {
+ get
+ {
+ return _configData?.Round ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Carddetailcfgs != null)
+ {
+ config.Carddetailcfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCardDetailCfg.cs.meta b/Scripts/DR_Generated/DRCardDetailCfg.cs.meta
new file mode 100644
index 0000000..f28fbfc
--- /dev/null
+++ b/Scripts/DR_Generated/DRCardDetailCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7f9458c09b1fa2c4d86dc32a7345cefa
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCardPackCfg.cs b/Scripts/DR_Generated/DRCardPackCfg.cs
new file mode 100644
index 0000000..f6d3ddc
--- /dev/null
+++ b/Scripts/DR_Generated/DRCardPackCfg.cs
@@ -0,0 +1,111 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CardPackCfg
+// 数据类: CardPackCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CardPackCfg 数据行
+ ///
+ public class DRCardPackCfg : DataRowBase
+ {
+ private CardPackCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Color
+ ///
+ public int Color
+ {
+ get
+ {
+ return _configData?.Color ?? 0;
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// RewardCnt
+ ///
+ public int RewardCnt
+ {
+ get
+ {
+ return _configData?.RewardCnt ?? 0;
+ }
+ }
+
+ ///
+ /// GoldRate
+ ///
+ public int GoldRate
+ {
+ get
+ {
+ return _configData?.GoldRate ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Cardpackcfgs != null)
+ {
+ config.Cardpackcfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCardPackCfg.cs.meta b/Scripts/DR_Generated/DRCardPackCfg.cs.meta
new file mode 100644
index 0000000..e6bc612
--- /dev/null
+++ b/Scripts/DR_Generated/DRCardPackCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e617e4528b5f9014fa1c4f825db36f2e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCardStickerExchangeCfg.cs b/Scripts/DR_Generated/DRCardStickerExchangeCfg.cs
new file mode 100644
index 0000000..cbdc9a6
--- /dev/null
+++ b/Scripts/DR_Generated/DRCardStickerExchangeCfg.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CardStickerExchangeCfg
+// 数据类: CardStickerExchangeCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CardStickerExchangeCfg 数据行
+ ///
+ public class DRCardStickerExchangeCfg : DataRowBase
+ {
+ private CardStickerExchangeCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Cost
+ ///
+ public int Cost
+ {
+ get
+ {
+ return _configData?.Cost ?? 0;
+ }
+ }
+
+ ///
+ /// RewardId
+ ///
+ public string RewardId
+ {
+ get
+ {
+ return _configData?.RewardId ?? "";
+ }
+ }
+
+ ///
+ /// RewardCnt
+ ///
+ public string RewardCnt
+ {
+ get
+ {
+ return _configData?.RewardCnt ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Cardstickerexchangecfgs != null)
+ {
+ config.Cardstickerexchangecfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCardStickerExchangeCfg.cs.meta b/Scripts/DR_Generated/DRCardStickerExchangeCfg.cs.meta
new file mode 100644
index 0000000..f9eb1c4
--- /dev/null
+++ b/Scripts/DR_Generated/DRCardStickerExchangeCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6b3fefa48d619984a9cdc8d792df0764
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCatTrickData.cs b/Scripts/DR_Generated/DRCatTrickData.cs
new file mode 100644
index 0000000..f6284b5
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatTrickData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CatTrickData
+// 数据类: CatTrickDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CatTrickData 数据行
+ ///
+ public class DRCatTrickData : DataRowBase
+ {
+ private CatTrickDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public int Type
+ {
+ get
+ {
+ return _configData?.Type ?? 0;
+ }
+ }
+
+ ///
+ /// Duration
+ ///
+ public int Duration
+ {
+ get
+ {
+ return _configData?.Duration ?? 0;
+ }
+ }
+
+ ///
+ /// Diamond
+ ///
+ public int Diamond
+ {
+ get
+ {
+ return _configData?.Diamond ?? 0;
+ }
+ }
+
+ ///
+ /// Energy
+ ///
+ public int Energy
+ {
+ get
+ {
+ return _configData?.Energy ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Cattrickdatas != null)
+ {
+ config.Cattrickdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCatTrickData.cs.meta b/Scripts/DR_Generated/DRCatTrickData.cs.meta
new file mode 100644
index 0000000..78396b0
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatTrickData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6d6fb3b9bc1ff3a49a61333a99873edb
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCatsGardenMultiplyData.cs b/Scripts/DR_Generated/DRCatsGardenMultiplyData.cs
new file mode 100644
index 0000000..8f4352a
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenMultiplyData.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CatsGardenMultiplyData
+// 数据类: CatsGardenMultiplyDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CatsGardenMultiplyData 数据行
+ ///
+ public class DRCatsGardenMultiplyData : DataRowBase
+ {
+ private CatsGardenMultiplyDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Low
+ ///
+ public int Low
+ {
+ get
+ {
+ return _configData?.Low ?? 0;
+ }
+ }
+
+ ///
+ /// Mid
+ ///
+ public int Mid
+ {
+ get
+ {
+ return _configData?.Mid ?? 0;
+ }
+ }
+
+ ///
+ /// High
+ ///
+ public int High
+ {
+ get
+ {
+ return _configData?.High ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Catsgardenmultiplydatas != null)
+ {
+ config.Catsgardenmultiplydatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCatsGardenMultiplyData.cs.meta b/Scripts/DR_Generated/DRCatsGardenMultiplyData.cs.meta
new file mode 100644
index 0000000..cdb926a
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenMultiplyData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e6ff328696a4ea94c8b7cb9e6ac7c87f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCatsGardenProgressData.cs b/Scripts/DR_Generated/DRCatsGardenProgressData.cs
new file mode 100644
index 0000000..615aef6
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenProgressData.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CatsGardenProgressData
+// 数据类: CatsGardenProgressDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CatsGardenProgressData 数据行
+ ///
+ public class DRCatsGardenProgressData : DataRowBase
+ {
+ private CatsGardenProgressDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Template
+ ///
+ public int Template
+ {
+ get
+ {
+ return _configData?.Template ?? 0;
+ }
+ }
+
+ ///
+ /// Need
+ ///
+ public int Need
+ {
+ get
+ {
+ return _configData?.Need ?? 0;
+ }
+ }
+
+ ///
+ /// Items
+ ///
+ public string Items
+ {
+ get
+ {
+ return _configData?.Items ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Catsgardenprogressdatas != null)
+ {
+ config.Catsgardenprogressdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCatsGardenProgressData.cs.meta b/Scripts/DR_Generated/DRCatsGardenProgressData.cs.meta
new file mode 100644
index 0000000..d007194
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenProgressData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f96414b48fe95014bbeaf3574e2911f1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCatsGardenSlotData.cs b/Scripts/DR_Generated/DRCatsGardenSlotData.cs
new file mode 100644
index 0000000..009e72c
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenSlotData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CatsGardenSlotData
+// 数据类: CatsGardenSlotDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CatsGardenSlotData 数据行
+ ///
+ public class DRCatsGardenSlotData : DataRowBase
+ {
+ private CatsGardenSlotDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Items
+ ///
+ public string Items
+ {
+ get
+ {
+ return _configData?.Items ?? "";
+ }
+ }
+
+ ///
+ /// FriendItems
+ ///
+ public string FriendItems
+ {
+ get
+ {
+ return _configData?.FriendItems ?? "";
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public int Type
+ {
+ get
+ {
+ return _configData?.Type ?? 0;
+ }
+ }
+
+ ///
+ /// Growth
+ ///
+ public int Growth
+ {
+ get
+ {
+ return _configData?.Growth ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Catsgardenslotdatas != null)
+ {
+ config.Catsgardenslotdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCatsGardenSlotData.cs.meta b/Scripts/DR_Generated/DRCatsGardenSlotData.cs.meta
new file mode 100644
index 0000000..4fa1c93
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenSlotData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 3140937dbe1484e4bbd2892e6ec0ce84
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCatsGardenTempleteData.cs b/Scripts/DR_Generated/DRCatsGardenTempleteData.cs
new file mode 100644
index 0000000..2a8a260
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenTempleteData.cs
@@ -0,0 +1,111 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CatsGardenTempleteData
+// 数据类: CatsGardenTempleteDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CatsGardenTempleteData 数据行
+ ///
+ public class DRCatsGardenTempleteData : DataRowBase
+ {
+ private CatsGardenTempleteDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Template
+ ///
+ public int Template
+ {
+ get
+ {
+ return _configData?.Template ?? 0;
+ }
+ }
+
+ ///
+ /// PassNum
+ ///
+ public int PassNum
+ {
+ get
+ {
+ return _configData?.PassNum ?? 0;
+ }
+ }
+
+ ///
+ /// ItemCost
+ ///
+ public string ItemCost
+ {
+ get
+ {
+ return _configData?.ItemCost ?? "";
+ }
+ }
+
+ ///
+ /// ItemId
+ ///
+ public int ItemId
+ {
+ get
+ {
+ return _configData?.ItemId ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Catsgardentempletedatas != null)
+ {
+ config.Catsgardentempletedatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCatsGardenTempleteData.cs.meta b/Scripts/DR_Generated/DRCatsGardenTempleteData.cs.meta
new file mode 100644
index 0000000..db6e230
--- /dev/null
+++ b/Scripts/DR_Generated/DRCatsGardenTempleteData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 93a124d47d9fc374fba6c632cdd5a404
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRChampshipCfg.cs b/Scripts/DR_Generated/DRChampshipCfg.cs
new file mode 100644
index 0000000..893f512
--- /dev/null
+++ b/Scripts/DR_Generated/DRChampshipCfg.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ChampshipCfg
+// 数据类: ChampshipCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ChampshipCfg 数据行
+ ///
+ public class DRChampshipCfg : DataRowBase
+ {
+ private ChampshipCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Bg
+ ///
+ public string Bg
+ {
+ get
+ {
+ return _configData?.Bg ?? "";
+ }
+ }
+
+ ///
+ /// NameKey
+ ///
+ public string NameKey
+ {
+ get
+ {
+ return _configData?.NameKey ?? "";
+ }
+ }
+
+ ///
+ /// Button
+ ///
+ public string Button
+ {
+ get
+ {
+ return _configData?.Button ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Champshipcfgs != null)
+ {
+ config.Champshipcfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRChampshipCfg.cs.meta b/Scripts/DR_Generated/DRChampshipCfg.cs.meta
new file mode 100644
index 0000000..dec0d47
--- /dev/null
+++ b/Scripts/DR_Generated/DRChampshipCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7395347d68e388344a76795716fb34e2
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRChampshipRankReward.cs b/Scripts/DR_Generated/DRChampshipRankReward.cs
new file mode 100644
index 0000000..ddd03af
--- /dev/null
+++ b/Scripts/DR_Generated/DRChampshipRankReward.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ChampshipRankReward
+// 数据类: ChampshipRankRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ChampshipRankReward 数据行
+ ///
+ public class DRChampshipRankReward : DataRowBase
+ {
+ private ChampshipRankRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Rank
+ ///
+ public int Rank
+ {
+ get
+ {
+ return _configData?.Rank ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// People30
+ ///
+ public float People30
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.People30 ?? 0.0);
+ }
+ }
+
+ ///
+ /// People50
+ ///
+ public float People50
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.People50 ?? 0.0);
+ }
+ }
+
+ ///
+ /// People80
+ ///
+ public float People80
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.People80 ?? 0.0);
+ }
+ }
+
+ ///
+ /// People100
+ ///
+ public float People100
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.People100 ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Champshiprankrewards != null)
+ {
+ config.Champshiprankrewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRChampshipRankReward.cs.meta b/Scripts/DR_Generated/DRChampshipRankReward.cs.meta
new file mode 100644
index 0000000..8d4976d
--- /dev/null
+++ b/Scripts/DR_Generated/DRChampshipRankReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a4d2f789eeb70f3408ab2012a8ea13e5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRChampshipScoreReward.cs b/Scripts/DR_Generated/DRChampshipScoreReward.cs
new file mode 100644
index 0000000..63023a7
--- /dev/null
+++ b/Scripts/DR_Generated/DRChampshipScoreReward.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ChampshipScoreReward
+// 数据类: ChampshipScoreRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ChampshipScoreReward 数据行
+ ///
+ public class DRChampshipScoreReward : DataRowBase
+ {
+ private ChampshipScoreRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// ScoreNeed
+ ///
+ public int ScoreNeed
+ {
+ get
+ {
+ return _configData?.ScoreNeed ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Champshipscorerewards != null)
+ {
+ config.Champshipscorerewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRChampshipScoreReward.cs.meta b/Scripts/DR_Generated/DRChampshipScoreReward.cs.meta
new file mode 100644
index 0000000..557efd8
--- /dev/null
+++ b/Scripts/DR_Generated/DRChampshipScoreReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: af87087cef5c4b545a1c41e550363c67
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRChineseResMap.cs b/Scripts/DR_Generated/DRChineseResMap.cs
new file mode 100644
index 0000000..69ef520
--- /dev/null
+++ b/Scripts/DR_Generated/DRChineseResMap.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ChineseResMap
+// 数据类: ChineseResMapItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ChineseResMap 数据行
+ ///
+ public class DRChineseResMap : DataRowBase
+ {
+ private ChineseResMapItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// TargetStr
+ ///
+ public string TargetStr
+ {
+ get
+ {
+ return _configData?.TargetStr ?? "";
+ }
+ }
+
+ ///
+ /// Chinese
+ ///
+ public string Chinese
+ {
+ get
+ {
+ return _configData?.Chinese ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Chineseresmaps != null)
+ {
+ config.Chineseresmaps.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRChineseResMap.cs.meta b/Scripts/DR_Generated/DRChineseResMap.cs.meta
new file mode 100644
index 0000000..6549a88
--- /dev/null
+++ b/Scripts/DR_Generated/DRChineseResMap.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f09c6bae19dfc1a43802f3975ea67ea6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCollectionRoomReward.cs b/Scripts/DR_Generated/DRCollectionRoomReward.cs
new file mode 100644
index 0000000..d7a01e7
--- /dev/null
+++ b/Scripts/DR_Generated/DRCollectionRoomReward.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CollectionRoomReward
+// 数据类: CollectionRoomRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CollectionRoomReward 数据行
+ ///
+ public class DRCollectionRoomReward : DataRowBase
+ {
+ private CollectionRoomRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Rank
+ ///
+ public int Rank
+ {
+ get
+ {
+ return _configData?.Rank ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward1
+ ///
+ public string ItemReward1
+ {
+ get
+ {
+ return _configData?.ItemReward1 ?? "";
+ }
+ }
+
+ ///
+ /// ItemReward2
+ ///
+ public string ItemReward2
+ {
+ get
+ {
+ return _configData?.ItemReward2 ?? "";
+ }
+ }
+
+ ///
+ /// ItemReward3
+ ///
+ public string ItemReward3
+ {
+ get
+ {
+ return _configData?.ItemReward3 ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Collectionroomrewards != null)
+ {
+ config.Collectionroomrewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCollectionRoomReward.cs.meta b/Scripts/DR_Generated/DRCollectionRoomReward.cs.meta
new file mode 100644
index 0000000..f7a48fe
--- /dev/null
+++ b/Scripts/DR_Generated/DRCollectionRoomReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f31378d3579d6a347ad311791dfc2fd0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRCollectionsRewardsData.cs b/Scripts/DR_Generated/DRCollectionsRewardsData.cs
new file mode 100644
index 0000000..0174006
--- /dev/null
+++ b/Scripts/DR_Generated/DRCollectionsRewardsData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: CollectionsRewardsData
+// 数据类: CollectionsRewardsDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// CollectionsRewardsData 数据行
+ ///
+ public class DRCollectionsRewardsData : DataRowBase
+ {
+ private CollectionsRewardsDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Index
+ ///
+ public int Index
+ {
+ get
+ {
+ return _configData?.Index ?? 0;
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public int Type
+ {
+ get
+ {
+ return _configData?.Type ?? 0;
+ }
+ }
+
+ ///
+ /// Need
+ ///
+ public int Need
+ {
+ get
+ {
+ return _configData?.Need ?? 0;
+ }
+ }
+
+ ///
+ /// ClientNeed
+ ///
+ public int ClientNeed
+ {
+ get
+ {
+ return _configData?.ClientNeed ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Collectionsrewardsdatas != null)
+ {
+ config.Collectionsrewardsdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRCollectionsRewardsData.cs.meta b/Scripts/DR_Generated/DRCollectionsRewardsData.cs.meta
new file mode 100644
index 0000000..b30cda9
--- /dev/null
+++ b/Scripts/DR_Generated/DRCollectionsRewardsData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 685c07b9dce14324d97ac9da135b9571
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRComboGift.cs b/Scripts/DR_Generated/DRComboGift.cs
new file mode 100644
index 0000000..4fa209f
--- /dev/null
+++ b/Scripts/DR_Generated/DRComboGift.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ComboGift
+// 数据类: ComboGiftItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ComboGift 数据行
+ ///
+ public class DRComboGift : DataRowBase
+ {
+ private ComboGiftItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Ratio
+ ///
+ public string Ratio
+ {
+ get
+ {
+ return _configData?.Ratio ?? "";
+ }
+ }
+
+ ///
+ /// Price
+ ///
+ public float Price
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price ?? 0.0);
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Combogifts != null)
+ {
+ config.Combogifts.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRComboGift.cs.meta b/Scripts/DR_Generated/DRComboGift.cs.meta
new file mode 100644
index 0000000..0c3f0f3
--- /dev/null
+++ b/Scripts/DR_Generated/DRComboGift.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9f4b427ff284d4243866128548decc11
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRComboGiftTwo.cs b/Scripts/DR_Generated/DRComboGiftTwo.cs
new file mode 100644
index 0000000..62ff5da
--- /dev/null
+++ b/Scripts/DR_Generated/DRComboGiftTwo.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ComboGiftTwo
+// 数据类: ComboGiftTwoItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ComboGiftTwo 数据行
+ ///
+ public class DRComboGiftTwo : DataRowBase
+ {
+ private ComboGiftTwoItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Price
+ ///
+ public float Price
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price ?? 0.0);
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Combogifttwos != null)
+ {
+ config.Combogifttwos.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRComboGiftTwo.cs.meta b/Scripts/DR_Generated/DRComboGiftTwo.cs.meta
new file mode 100644
index 0000000..aaa980c
--- /dev/null
+++ b/Scripts/DR_Generated/DRComboGiftTwo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8130af2efa42aff4f872c9a5d7daac7c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRDailyTaskActiveCfg.cs b/Scripts/DR_Generated/DRDailyTaskActiveCfg.cs
new file mode 100644
index 0000000..433e7c4
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskActiveCfg.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: DailyTaskActiveCfg
+// 数据类: DailyTaskActiveCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// DailyTaskActiveCfg 数据行
+ ///
+ public class DRDailyTaskActiveCfg : DataRowBase
+ {
+ private DailyTaskActiveCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// RewardID
+ ///
+ public string RewardID
+ {
+ get
+ {
+ return _configData?.RewardID ?? "";
+ }
+ }
+
+ ///
+ /// RewardCnt
+ ///
+ public string RewardCnt
+ {
+ get
+ {
+ return _configData?.RewardCnt ?? "";
+ }
+ }
+
+ ///
+ /// Active
+ ///
+ public int Active
+ {
+ get
+ {
+ return _configData?.Active ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Dailytaskactivecfgs != null)
+ {
+ config.Dailytaskactivecfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRDailyTaskActiveCfg.cs.meta b/Scripts/DR_Generated/DRDailyTaskActiveCfg.cs.meta
new file mode 100644
index 0000000..ca3841b
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskActiveCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b5d397c4a4de3e341a0a8c0e28161e2c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRDailyTaskConfig.cs b/Scripts/DR_Generated/DRDailyTaskConfig.cs
new file mode 100644
index 0000000..90fc476
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskConfig.cs
@@ -0,0 +1,144 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: DailyTaskConfig
+// 数据类: DailyTaskConfigItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// DailyTaskConfig 数据行
+ ///
+ public class DRDailyTaskConfig : DataRowBase
+ {
+ private DailyTaskConfigItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// TaskPoolId
+ ///
+ public int TaskPoolId
+ {
+ get
+ {
+ return _configData?.TaskPoolId ?? 0;
+ }
+ }
+
+ ///
+ /// OpenCondition
+ ///
+ public string OpenCondition
+ {
+ get
+ {
+ return _configData?.OpenCondition ?? "";
+ }
+ }
+
+ ///
+ /// TaskType
+ ///
+ public int TaskType
+ {
+ get
+ {
+ return _configData?.TaskType ?? 0;
+ }
+ }
+
+ ///
+ /// Describe
+ ///
+ public string Describe
+ {
+ get
+ {
+ return _configData?.Describe ?? "";
+ }
+ }
+
+ ///
+ /// TaskNum
+ ///
+ public int TaskNum
+ {
+ get
+ {
+ return _configData?.TaskNum ?? 0;
+ }
+ }
+
+ ///
+ /// RewardID
+ ///
+ public string RewardID
+ {
+ get
+ {
+ return _configData?.RewardID ?? "";
+ }
+ }
+
+ ///
+ /// RewardCnt
+ ///
+ public string RewardCnt
+ {
+ get
+ {
+ return _configData?.RewardCnt ?? "";
+ }
+ }
+
+ ///
+ /// Active
+ ///
+ public int Active
+ {
+ get
+ {
+ return _configData?.Active ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Dailytaskconfigs != null)
+ {
+ config.Dailytaskconfigs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRDailyTaskConfig.cs.meta b/Scripts/DR_Generated/DRDailyTaskConfig.cs.meta
new file mode 100644
index 0000000..a06ba98
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskConfig.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 14006aac83ebf9043b377b52ae06947c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRDailyTaskDetail.cs b/Scripts/DR_Generated/DRDailyTaskDetail.cs
new file mode 100644
index 0000000..47e1c52
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskDetail.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: DailyTaskDetail
+// 数据类: DailyTaskDetailItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// DailyTaskDetail 数据行
+ ///
+ public class DRDailyTaskDetail : DataRowBase
+ {
+ private DailyTaskDetailItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// Task
+ ///
+ public string Task
+ {
+ get
+ {
+ return _configData?.Task ?? "";
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public string Type
+ {
+ get
+ {
+ return _configData?.Type ?? "";
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Dailytaskdetails != null)
+ {
+ config.Dailytaskdetails.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRDailyTaskDetail.cs.meta b/Scripts/DR_Generated/DRDailyTaskDetail.cs.meta
new file mode 100644
index 0000000..8519d5a
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskDetail.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 86027635cad98f043bd10e86c8697615
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRDailyTaskReward.cs b/Scripts/DR_Generated/DRDailyTaskReward.cs
new file mode 100644
index 0000000..865e440
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskReward.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: DailyTaskReward
+// 数据类: DailyTaskRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// DailyTaskReward 数据行
+ ///
+ public class DRDailyTaskReward : DataRowBase
+ {
+ private DailyTaskRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// ScoreReward
+ ///
+ public int ScoreReward
+ {
+ get
+ {
+ return _configData?.ScoreReward ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Dailytaskrewards != null)
+ {
+ config.Dailytaskrewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRDailyTaskReward.cs.meta b/Scripts/DR_Generated/DRDailyTaskReward.cs.meta
new file mode 100644
index 0000000..83c06af
--- /dev/null
+++ b/Scripts/DR_Generated/DRDailyTaskReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 69ada7bebe7f4d443951011e7f6b2354
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRDecorateCost.cs b/Scripts/DR_Generated/DRDecorateCost.cs
new file mode 100644
index 0000000..af7c918
--- /dev/null
+++ b/Scripts/DR_Generated/DRDecorateCost.cs
@@ -0,0 +1,232 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: DecorateCost
+// 数据类: DecorateCostItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// DecorateCost 数据行
+ ///
+ public class DRDecorateCost : DataRowBase
+ {
+ private DecorateCostItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// AreaId
+ ///
+ public int AreaId
+ {
+ get
+ {
+ return _configData?.AreaId ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// CostCount
+ ///
+ public int CostCount
+ {
+ get
+ {
+ return _configData?.CostCount ?? 0;
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Pos
+ ///
+ public string Pos
+ {
+ get
+ {
+ return _configData?.Pos ?? "";
+ }
+ }
+
+ ///
+ /// Action
+ ///
+ public string Action
+ {
+ get
+ {
+ return _configData?.Action ?? "";
+ }
+ }
+
+ ///
+ /// Spine
+ ///
+ public string Spine
+ {
+ get
+ {
+ return _configData?.Spine ?? "";
+ }
+ }
+
+ ///
+ /// Button
+ ///
+ public string Button
+ {
+ get
+ {
+ return _configData?.Button ?? "";
+ }
+ }
+
+ ///
+ /// Build
+ ///
+ public string Build
+ {
+ get
+ {
+ return _configData?.Build ?? "";
+ }
+ }
+
+ ///
+ /// Shine
+ ///
+ public string Shine
+ {
+ get
+ {
+ return _configData?.Shine ?? "";
+ }
+ }
+
+ ///
+ /// Origin
+ ///
+ public string Origin
+ {
+ get
+ {
+ return _configData?.Origin ?? "";
+ }
+ }
+
+ ///
+ /// DecoratePos
+ ///
+ public string DecoratePos
+ {
+ get
+ {
+ return _configData?.DecoratePos ?? "";
+ }
+ }
+
+ ///
+ /// Skip
+ ///
+ public string Skip
+ {
+ get
+ {
+ return _configData?.Skip ?? "";
+ }
+ }
+
+ ///
+ /// MapPethomeId
+ ///
+ public string MapPethomeId
+ {
+ get
+ {
+ return _configData?.MapPethomeId ?? "";
+ }
+ }
+
+ ///
+ /// PetExp
+ ///
+ public string PetExp
+ {
+ get
+ {
+ return _configData?.PetExp ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Decoratecosts != null)
+ {
+ config.Decoratecosts.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRDecorateCost.cs.meta b/Scripts/DR_Generated/DRDecorateCost.cs.meta
new file mode 100644
index 0000000..7bfa577
--- /dev/null
+++ b/Scripts/DR_Generated/DRDecorateCost.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 355054e459fa69b4ab82571380edd781
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRDialogData.cs b/Scripts/DR_Generated/DRDialogData.cs
new file mode 100644
index 0000000..96302eb
--- /dev/null
+++ b/Scripts/DR_Generated/DRDialogData.cs
@@ -0,0 +1,177 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: DialogData
+// 数据类: DialogDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// DialogData 数据行
+ ///
+ public class DRDialogData : DataRowBase
+ {
+ private DialogDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// PlotNode
+ ///
+ public string PlotNode
+ {
+ get
+ {
+ return _configData?.PlotNode ?? "";
+ }
+ }
+
+ ///
+ /// SceneId
+ ///
+ public int SceneId
+ {
+ get
+ {
+ return _configData?.SceneId ?? 0;
+ }
+ }
+
+ ///
+ /// Group
+ ///
+ public string Group
+ {
+ get
+ {
+ return _configData?.Group ?? "";
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// Direct
+ ///
+ public string Direct
+ {
+ get
+ {
+ return _configData?.Direct ?? "";
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// Content
+ ///
+ public string Content
+ {
+ get
+ {
+ return _configData?.Content ?? "";
+ }
+ }
+
+ ///
+ /// BubbleType
+ ///
+ public string BubbleType
+ {
+ get
+ {
+ return _configData?.BubbleType ?? "";
+ }
+ }
+
+ ///
+ /// Phone
+ ///
+ public string Phone
+ {
+ get
+ {
+ return _configData?.Phone ?? "";
+ }
+ }
+
+ ///
+ /// Status
+ ///
+ public string Status
+ {
+ get
+ {
+ return _configData?.Status ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Dialogdatas != null)
+ {
+ config.Dialogdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRDialogData.cs.meta b/Scripts/DR_Generated/DRDialogData.cs.meta
new file mode 100644
index 0000000..462cfb9
--- /dev/null
+++ b/Scripts/DR_Generated/DRDialogData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a5966620bc49f2f4694797df2fc2b3b2
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DREmiterRetreatData.cs b/Scripts/DR_Generated/DREmiterRetreatData.cs
new file mode 100644
index 0000000..603eda5
--- /dev/null
+++ b/Scripts/DR_Generated/DREmiterRetreatData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: EmiterRetreatData
+// 数据类: EmiterRetreatDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// EmiterRetreatData 数据行
+ ///
+ public class DREmiterRetreatData : DataRowBase
+ {
+ private EmiterRetreatDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// Emit_ID
+ ///
+ public string Emit_ID
+ {
+ get
+ {
+ return _configData?.Emit_ID ?? "";
+ }
+ }
+
+ ///
+ /// Color
+ ///
+ public string Color
+ {
+ get
+ {
+ return _configData?.Color ?? "";
+ }
+ }
+
+ ///
+ /// Retreat_Emit_ID
+ ///
+ public string Retreat_Emit_ID
+ {
+ get
+ {
+ return _configData?.Retreat_Emit_ID ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Emiterretreatdatas != null)
+ {
+ config.Emiterretreatdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DREmiterRetreatData.cs.meta b/Scripts/DR_Generated/DREmiterRetreatData.cs.meta
new file mode 100644
index 0000000..f04ddf8
--- /dev/null
+++ b/Scripts/DR_Generated/DREmiterRetreatData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fe51c41f0f684dd43b711286546e0fb7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DREmojiData.cs b/Scripts/DR_Generated/DREmojiData.cs
new file mode 100644
index 0000000..98eb66b
--- /dev/null
+++ b/Scripts/DR_Generated/DREmojiData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: EmojiData
+// 数据类: EmojiDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// EmojiData 数据行
+ ///
+ public class DREmojiData : DataRowBase
+ {
+ private EmojiDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// NameKey
+ ///
+ public string NameKey
+ {
+ get
+ {
+ return _configData?.NameKey ?? "";
+ }
+ }
+
+ ///
+ /// Init
+ ///
+ public int Init
+ {
+ get
+ {
+ return _configData?.Init ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Spine
+ ///
+ public string Spine
+ {
+ get
+ {
+ return _configData?.Spine ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Emojidatas != null)
+ {
+ config.Emojidatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DREmojiData.cs.meta b/Scripts/DR_Generated/DREmojiData.cs.meta
new file mode 100644
index 0000000..14ed8f9
--- /dev/null
+++ b/Scripts/DR_Generated/DREmojiData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4aa577e32e8e8424a9d2102c96374fa0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DREndlessGift.cs b/Scripts/DR_Generated/DREndlessGift.cs
new file mode 100644
index 0000000..187b23b
--- /dev/null
+++ b/Scripts/DR_Generated/DREndlessGift.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: EndlessGift
+// 数据类: EndlessGiftItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// EndlessGift 数据行
+ ///
+ public class DREndlessGift : DataRowBase
+ {
+ private EndlessGiftItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Content
+ ///
+ public string Content
+ {
+ get
+ {
+ return _configData?.Content ?? "";
+ }
+ }
+
+ ///
+ /// SellType
+ ///
+ public string SellType
+ {
+ get
+ {
+ return _configData?.SellType ?? "";
+ }
+ }
+
+ ///
+ /// SellPrice
+ ///
+ public float SellPrice
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.SellPrice ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Endlessgifts != null)
+ {
+ config.Endlessgifts.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DREndlessGift.cs.meta b/Scripts/DR_Generated/DREndlessGift.cs.meta
new file mode 100644
index 0000000..356166e
--- /dev/null
+++ b/Scripts/DR_Generated/DREndlessGift.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 630def0a224036d40bf549221336749d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DREnergyLimitGift.cs b/Scripts/DR_Generated/DREnergyLimitGift.cs
new file mode 100644
index 0000000..5402dcc
--- /dev/null
+++ b/Scripts/DR_Generated/DREnergyLimitGift.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: EnergyLimitGift
+// 数据类: EnergyLimitGiftItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// EnergyLimitGift 数据行
+ ///
+ public class DREnergyLimitGift : DataRowBase
+ {
+ private EnergyLimitGiftItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// PayPrice
+ ///
+ public float PayPrice
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.PayPrice ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Energylimitgifts != null)
+ {
+ config.Energylimitgifts.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DREnergyLimitGift.cs.meta b/Scripts/DR_Generated/DREnergyLimitGift.cs.meta
new file mode 100644
index 0000000..b228df5
--- /dev/null
+++ b/Scripts/DR_Generated/DREnergyLimitGift.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 08368b0fa4ce2a941943c98b8ca6c264
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRFrameData.cs b/Scripts/DR_Generated/DRFrameData.cs
new file mode 100644
index 0000000..bd37722
--- /dev/null
+++ b/Scripts/DR_Generated/DRFrameData.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: FrameData
+// 数据类: FrameDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// FrameData 数据行
+ ///
+ public class DRFrameData : DataRowBase
+ {
+ private FrameDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// NameKey
+ ///
+ public string NameKey
+ {
+ get
+ {
+ return _configData?.NameKey ?? "";
+ }
+ }
+
+ ///
+ /// Init
+ ///
+ public int Init
+ {
+ get
+ {
+ return _configData?.Init ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// SpineFile
+ ///
+ public string SpineFile
+ {
+ get
+ {
+ return _configData?.SpineFile ?? "";
+ }
+ }
+
+ ///
+ /// AnimName
+ ///
+ public string AnimName
+ {
+ get
+ {
+ return _configData?.AnimName ?? "";
+ }
+ }
+
+ ///
+ /// FrameImageScale
+ ///
+ public string FrameImageScale
+ {
+ get
+ {
+ return _configData?.FrameImageScale ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Framedatas != null)
+ {
+ config.Framedatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRFrameData.cs.meta b/Scripts/DR_Generated/DRFrameData.cs.meta
new file mode 100644
index 0000000..469febf
--- /dev/null
+++ b/Scripts/DR_Generated/DRFrameData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7bab1e3bed7dff84faf909c428886e9b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRGrowthFund.cs b/Scripts/DR_Generated/DRGrowthFund.cs
new file mode 100644
index 0000000..7d1efa1
--- /dev/null
+++ b/Scripts/DR_Generated/DRGrowthFund.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: GrowthFund
+// 数据类: GrowthFundItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// GrowthFund 数据行
+ ///
+ public class DRGrowthFund : DataRowBase
+ {
+ private GrowthFundItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Level
+ ///
+ public int Level
+ {
+ get
+ {
+ return _configData?.Level ?? 0;
+ }
+ }
+
+ ///
+ /// RewardIds
+ ///
+ public string RewardIds
+ {
+ get
+ {
+ return _configData?.RewardIds ?? "";
+ }
+ }
+
+ ///
+ /// RewardCnt
+ ///
+ public string RewardCnt
+ {
+ get
+ {
+ return _configData?.RewardCnt ?? "";
+ }
+ }
+
+ ///
+ /// Price
+ ///
+ public float Price
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price ?? 0.0);
+ }
+ }
+
+ ///
+ /// OriginPrice
+ ///
+ public float OriginPrice
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.OriginPrice ?? 0.0);
+ }
+ }
+
+ ///
+ /// Describe
+ ///
+ public string Describe
+ {
+ get
+ {
+ return _configData?.Describe ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Growthfunds != null)
+ {
+ config.Growthfunds.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRGrowthFund.cs.meta b/Scripts/DR_Generated/DRGrowthFund.cs.meta
new file mode 100644
index 0000000..6125524
--- /dev/null
+++ b/Scripts/DR_Generated/DRGrowthFund.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4dcdf0f26eefbd94fb65fb65804db9f1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRGuessReward.cs b/Scripts/DR_Generated/DRGuessReward.cs
new file mode 100644
index 0000000..fb7afc4
--- /dev/null
+++ b/Scripts/DR_Generated/DRGuessReward.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: GuessReward
+// 数据类: GuessRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// GuessReward 数据行
+ ///
+ public class DRGuessReward : DataRowBase
+ {
+ private GuessRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Level
+ ///
+ public int Level
+ {
+ get
+ {
+ return _configData?.Level ?? 0;
+ }
+ }
+
+ ///
+ /// Reward_1
+ ///
+ public string Reward_1
+ {
+ get
+ {
+ return _configData?.Reward_1 ?? "";
+ }
+ }
+
+ ///
+ /// Reward_2
+ ///
+ public string Reward_2
+ {
+ get
+ {
+ return _configData?.Reward_2 ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Guessrewards != null)
+ {
+ config.Guessrewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRGuessReward.cs.meta b/Scripts/DR_Generated/DRGuessReward.cs.meta
new file mode 100644
index 0000000..02dd2ba
--- /dev/null
+++ b/Scripts/DR_Generated/DRGuessReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e0ee43498c819e44ca839694fd9f74cb
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRGuideData.cs b/Scripts/DR_Generated/DRGuideData.cs
new file mode 100644
index 0000000..3e31fd4
--- /dev/null
+++ b/Scripts/DR_Generated/DRGuideData.cs
@@ -0,0 +1,144 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: GuideData
+// 数据类: GuideDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// GuideData 数据行
+ ///
+ public class DRGuideData : DataRowBase
+ {
+ private GuideDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// TargetStr
+ ///
+ public string TargetStr
+ {
+ get
+ {
+ return _configData?.TargetStr ?? "";
+ }
+ }
+
+ ///
+ /// FingerType
+ ///
+ public int FingerType
+ {
+ get
+ {
+ return _configData?.FingerType ?? 0;
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// TitlePos
+ ///
+ public string TitlePos
+ {
+ get
+ {
+ return _configData?.TitlePos ?? "";
+ }
+ }
+
+ ///
+ /// Expression
+ ///
+ public string Expression
+ {
+ get
+ {
+ return _configData?.Expression ?? "";
+ }
+ }
+
+ ///
+ /// Other
+ ///
+ public string Other
+ {
+ get
+ {
+ return _configData?.Other ?? "";
+ }
+ }
+
+ ///
+ /// Disappear
+ ///
+ public string Disappear
+ {
+ get
+ {
+ return _configData?.Disappear ?? "";
+ }
+ }
+
+ ///
+ /// Remark
+ ///
+ public string Remark
+ {
+ get
+ {
+ return _configData?.Remark ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Guidedatas != null)
+ {
+ config.Guidedatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRGuideData.cs.meta b/Scripts/DR_Generated/DRGuideData.cs.meta
new file mode 100644
index 0000000..64ba47b
--- /dev/null
+++ b/Scripts/DR_Generated/DRGuideData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b9f8c6f7f0236054587a49811557e191
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRHandbookReward.cs b/Scripts/DR_Generated/DRHandbookReward.cs
new file mode 100644
index 0000000..bd1d1da
--- /dev/null
+++ b/Scripts/DR_Generated/DRHandbookReward.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: HandbookReward
+// 数据类: HandbookRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// HandbookReward 数据行
+ ///
+ public class DRHandbookReward : DataRowBase
+ {
+ private HandbookRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public string Type
+ {
+ get
+ {
+ return _configData?.Type ?? "";
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Handbookrewards != null)
+ {
+ config.Handbookrewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRHandbookReward.cs.meta b/Scripts/DR_Generated/DRHandbookReward.cs.meta
new file mode 100644
index 0000000..640bb9d
--- /dev/null
+++ b/Scripts/DR_Generated/DRHandbookReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 5253eb338883a0b4487483a759bfdf8a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRHeadData.cs b/Scripts/DR_Generated/DRHeadData.cs
new file mode 100644
index 0000000..41a6ffd
--- /dev/null
+++ b/Scripts/DR_Generated/DRHeadData.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: HeadData
+// 数据类: HeadDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// HeadData 数据行
+ ///
+ public class DRHeadData : DataRowBase
+ {
+ private HeadDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// NameKey
+ ///
+ public string NameKey
+ {
+ get
+ {
+ return _configData?.NameKey ?? "";
+ }
+ }
+
+ ///
+ /// Init
+ ///
+ public int Init
+ {
+ get
+ {
+ return _configData?.Init ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Headdatas != null)
+ {
+ config.Headdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRHeadData.cs.meta b/Scripts/DR_Generated/DRHeadData.cs.meta
new file mode 100644
index 0000000..5fc7021
--- /dev/null
+++ b/Scripts/DR_Generated/DRHeadData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 83370d30b9acf194a98f6153e88404c5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRHowToPlay.cs b/Scripts/DR_Generated/DRHowToPlay.cs
new file mode 100644
index 0000000..b1b63c6
--- /dev/null
+++ b/Scripts/DR_Generated/DRHowToPlay.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: HowToPlay
+// 数据类: HowToPlayItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// HowToPlay 数据行
+ ///
+ public class DRHowToPlay : DataRowBase
+ {
+ private HowToPlayItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Tip
+ ///
+ public string Tip
+ {
+ get
+ {
+ return _configData?.Tip ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Howtoplays != null)
+ {
+ config.Howtoplays.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRHowToPlay.cs.meta b/Scripts/DR_Generated/DRHowToPlay.cs.meta
new file mode 100644
index 0000000..5ff5cb9
--- /dev/null
+++ b/Scripts/DR_Generated/DRHowToPlay.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b0931226b8065cf4faa0ffa1e26e3e2b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRIndoorProgress.cs b/Scripts/DR_Generated/DRIndoorProgress.cs
new file mode 100644
index 0000000..f365c33
--- /dev/null
+++ b/Scripts/DR_Generated/DRIndoorProgress.cs
@@ -0,0 +1,144 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: IndoorProgress
+// 数据类: IndoorProgressItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// IndoorProgress 数据行
+ ///
+ public class DRIndoorProgress : DataRowBase
+ {
+ private IndoorProgressItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Scene
+ ///
+ public int Scene
+ {
+ get
+ {
+ return _configData?.Scene ?? 0;
+ }
+ }
+
+ ///
+ /// Lv
+ ///
+ public int Lv
+ {
+ get
+ {
+ return _configData?.Lv ?? 0;
+ }
+ }
+
+ ///
+ /// Item
+ ///
+ public string Item
+ {
+ get
+ {
+ return _configData?.Item ?? "";
+ }
+ }
+
+ ///
+ /// Emit
+ ///
+ public string Emit
+ {
+ get
+ {
+ return _configData?.Emit ?? "";
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// BigReward
+ ///
+ public string BigReward
+ {
+ get
+ {
+ return _configData?.BigReward ?? "";
+ }
+ }
+
+ ///
+ /// AreaReward
+ ///
+ public string AreaReward
+ {
+ get
+ {
+ return _configData?.AreaReward ?? "";
+ }
+ }
+
+ ///
+ /// Part
+ ///
+ public int Part
+ {
+ get
+ {
+ return _configData?.Part ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Indoorprogresss != null)
+ {
+ config.Indoorprogresss.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRIndoorProgress.cs.meta b/Scripts/DR_Generated/DRIndoorProgress.cs.meta
new file mode 100644
index 0000000..b09ede6
--- /dev/null
+++ b/Scripts/DR_Generated/DRIndoorProgress.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1c7c67e5ca641474b99de36ce7775519
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRLanguageData.cs b/Scripts/DR_Generated/DRLanguageData.cs
new file mode 100644
index 0000000..c5b1b7b
--- /dev/null
+++ b/Scripts/DR_Generated/DRLanguageData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: LanguageData
+// 数据类: LanguageDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// LanguageData 数据行
+ ///
+ public class DRLanguageData : DataRowBase
+ {
+ private LanguageDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Key
+ ///
+ public string Key
+ {
+ get
+ {
+ return _configData?.Key ?? "";
+ }
+ }
+
+ ///
+ /// En_US
+ ///
+ public string En_US
+ {
+ get
+ {
+ return _configData?.En_US ?? "";
+ }
+ }
+
+ ///
+ /// Zh_CN
+ ///
+ public string Zh_CN
+ {
+ get
+ {
+ return _configData?.Zh_CN ?? "";
+ }
+ }
+
+ ///
+ /// Pt_BR
+ ///
+ public string Pt_BR
+ {
+ get
+ {
+ return _configData?.Pt_BR ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Languagedatas != null)
+ {
+ config.Languagedatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRLanguageData.cs.meta b/Scripts/DR_Generated/DRLanguageData.cs.meta
new file mode 100644
index 0000000..73d24d7
--- /dev/null
+++ b/Scripts/DR_Generated/DRLanguageData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 02f399a5ea2d43f4baed26f59a9ad959
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRLevelData.cs b/Scripts/DR_Generated/DRLevelData.cs
new file mode 100644
index 0000000..8240679
--- /dev/null
+++ b/Scripts/DR_Generated/DRLevelData.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: LevelData
+// 数据类: LevelDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// LevelData 数据行
+ ///
+ public class DRLevelData : DataRowBase
+ {
+ private LevelDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Lv
+ ///
+ public int Lv
+ {
+ get
+ {
+ return _configData?.Lv ?? 0;
+ }
+ }
+
+ ///
+ /// StoryExp
+ ///
+ public int StoryExp
+ {
+ get
+ {
+ return _configData?.StoryExp ?? 0;
+ }
+ }
+
+ ///
+ /// PetExp
+ ///
+ public int PetExp
+ {
+ get
+ {
+ return _configData?.PetExp ?? 0;
+ }
+ }
+
+ ///
+ /// StoryReward
+ ///
+ public string StoryReward
+ {
+ get
+ {
+ return _configData?.StoryReward ?? "";
+ }
+ }
+
+ ///
+ /// PetReward
+ ///
+ public string PetReward
+ {
+ get
+ {
+ return _configData?.PetReward ?? "";
+ }
+ }
+
+ ///
+ /// RetireEmit
+ ///
+ public string RetireEmit
+ {
+ get
+ {
+ return _configData?.RetireEmit ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Leveldatas != null)
+ {
+ config.Leveldatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRLevelData.cs.meta b/Scripts/DR_Generated/DRLevelData.cs.meta
new file mode 100644
index 0000000..886c430
--- /dev/null
+++ b/Scripts/DR_Generated/DRLevelData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 434d491936f38534882ad2b36ba80d3e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRLevelLauncherData.cs b/Scripts/DR_Generated/DRLevelLauncherData.cs
new file mode 100644
index 0000000..0f6c5e3
--- /dev/null
+++ b/Scripts/DR_Generated/DRLevelLauncherData.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: LevelLauncherData
+// 数据类: LevelLauncherDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// LevelLauncherData 数据行
+ ///
+ public class DRLevelLauncherData : DataRowBase
+ {
+ private LevelLauncherDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Lv
+ ///
+ public int Lv
+ {
+ get
+ {
+ return _configData?.Lv ?? 0;
+ }
+ }
+
+ ///
+ /// LanguageKey
+ ///
+ public string LanguageKey
+ {
+ get
+ {
+ return _configData?.LanguageKey ?? "";
+ }
+ }
+
+ ///
+ /// Picture
+ ///
+ public string Picture
+ {
+ get
+ {
+ return _configData?.Picture ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Levellauncherdatas != null)
+ {
+ config.Levellauncherdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRLevelLauncherData.cs.meta b/Scripts/DR_Generated/DRLevelLauncherData.cs.meta
new file mode 100644
index 0000000..c5c4763
--- /dev/null
+++ b/Scripts/DR_Generated/DRLevelLauncherData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c38c6d13ca9699042a4c61075f618dc4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRLuckyCatData.cs b/Scripts/DR_Generated/DRLuckyCatData.cs
new file mode 100644
index 0000000..cf4ffe2
--- /dev/null
+++ b/Scripts/DR_Generated/DRLuckyCatData.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: LuckyCatData
+// 数据类: LuckyCatDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// LuckyCatData 数据行
+ ///
+ public class DRLuckyCatData : DataRowBase
+ {
+ private LuckyCatDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Time
+ ///
+ public int Time
+ {
+ get
+ {
+ return _configData?.Time ?? 0;
+ }
+ }
+
+ ///
+ /// Earn
+ ///
+ public int Earn
+ {
+ get
+ {
+ return _configData?.Earn ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Luckycatdatas != null)
+ {
+ config.Luckycatdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRLuckyCatData.cs.meta b/Scripts/DR_Generated/DRLuckyCatData.cs.meta
new file mode 100644
index 0000000..2f5a4f7
--- /dev/null
+++ b/Scripts/DR_Generated/DRLuckyCatData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8de0527818f1de141981111cc7c0e96d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRLuckyCatProbability.cs b/Scripts/DR_Generated/DRLuckyCatProbability.cs
new file mode 100644
index 0000000..124fca5
--- /dev/null
+++ b/Scripts/DR_Generated/DRLuckyCatProbability.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: LuckyCatProbability
+// 数据类: LuckyCatProbabilityItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// LuckyCatProbability 数据行
+ ///
+ public class DRLuckyCatProbability : DataRowBase
+ {
+ private LuckyCatProbabilityItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// BaseProbability
+ ///
+ public int BaseProbability
+ {
+ get
+ {
+ return _configData?.BaseProbability ?? 0;
+ }
+ }
+
+ ///
+ /// ProbabilityBonus
+ ///
+ public int ProbabilityBonus
+ {
+ get
+ {
+ return _configData?.ProbabilityBonus ?? 0;
+ }
+ }
+
+ ///
+ /// ProbabilityCap
+ ///
+ public int ProbabilityCap
+ {
+ get
+ {
+ return _configData?.ProbabilityCap ?? 0;
+ }
+ }
+
+ ///
+ /// EnergyEfficiencyValue
+ ///
+ public int EnergyEfficiencyValue
+ {
+ get
+ {
+ return _configData?.EnergyEfficiencyValue ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Luckycatprobabilitys != null)
+ {
+ config.Luckycatprobabilitys.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRLuckyCatProbability.cs.meta b/Scripts/DR_Generated/DRLuckyCatProbability.cs.meta
new file mode 100644
index 0000000..9cbb4dc
--- /dev/null
+++ b/Scripts/DR_Generated/DRLuckyCatProbability.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 730c766711ef23445b9d0c93d5bc40bc
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRMainCardCollect.cs b/Scripts/DR_Generated/DRMainCardCollect.cs
new file mode 100644
index 0000000..18c05f6
--- /dev/null
+++ b/Scripts/DR_Generated/DRMainCardCollect.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: MainCardCollect
+// 数据类: MainCardCollectItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// MainCardCollect 数据行
+ ///
+ public class DRMainCardCollect : DataRowBase
+ {
+ private MainCardCollectItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Color
+ ///
+ public int Color
+ {
+ get
+ {
+ return _configData?.Color ?? 0;
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// RewardId
+ ///
+ public string RewardId
+ {
+ get
+ {
+ return _configData?.RewardId ?? "";
+ }
+ }
+
+ ///
+ /// RewardCnt
+ ///
+ public string RewardCnt
+ {
+ get
+ {
+ return _configData?.RewardCnt ?? "";
+ }
+ }
+
+ ///
+ /// Round
+ ///
+ public int Round
+ {
+ get
+ {
+ return _configData?.Round ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Maincardcollects != null)
+ {
+ config.Maincardcollects.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRMainCardCollect.cs.meta b/Scripts/DR_Generated/DRMainCardCollect.cs.meta
new file mode 100644
index 0000000..b3d360d
--- /dev/null
+++ b/Scripts/DR_Generated/DRMainCardCollect.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: eea465361d0fb604cab1ca1eee3232e4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRMergeData.cs b/Scripts/DR_Generated/DRMergeData.cs
new file mode 100644
index 0000000..173315a
--- /dev/null
+++ b/Scripts/DR_Generated/DRMergeData.cs
@@ -0,0 +1,342 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: MergeData
+// 数据类: MergeDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// MergeData 数据行
+ ///
+ public class DRMergeData : DataRowBase
+ {
+ private MergeDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Lv
+ ///
+ public int Lv
+ {
+ get
+ {
+ return _configData?.Lv ?? 0;
+ }
+ }
+
+ ///
+ /// MaxLv
+ ///
+ public int MaxLv
+ {
+ get
+ {
+ return _configData?.MaxLv ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Color
+ ///
+ public string Color
+ {
+ get
+ {
+ return _configData?.Color ?? "";
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// Content
+ ///
+ public string Content
+ {
+ get
+ {
+ return _configData?.Content ?? "";
+ }
+ }
+
+ ///
+ /// SellType
+ ///
+ public string SellType
+ {
+ get
+ {
+ return _configData?.SellType ?? "";
+ }
+ }
+
+ ///
+ /// SellNum
+ ///
+ public int SellNum
+ {
+ get
+ {
+ return _configData?.SellNum ?? 0;
+ }
+ }
+
+ ///
+ /// Star
+ ///
+ public int Star
+ {
+ get
+ {
+ return _configData?.Star ?? 0;
+ }
+ }
+
+ ///
+ /// Origin
+ ///
+ public string Origin
+ {
+ get
+ {
+ return _configData?.Origin ?? "";
+ }
+ }
+
+ ///
+ /// Capacity
+ ///
+ public int Capacity
+ {
+ get
+ {
+ return _configData?.Capacity ?? 0;
+ }
+ }
+
+ ///
+ /// CoolTime
+ ///
+ public int CoolTime
+ {
+ get
+ {
+ return _configData?.CoolTime ?? 0;
+ }
+ }
+
+ ///
+ /// CoolNum
+ ///
+ public int CoolNum
+ {
+ get
+ {
+ return _configData?.CoolNum ?? 0;
+ }
+ }
+
+ ///
+ /// Emit_List
+ ///
+ public string Emit_List
+ {
+ get
+ {
+ return _configData?.Emit_List ?? "";
+ }
+ }
+
+ ///
+ /// SellDiamond
+ ///
+ public int SellDiamond
+ {
+ get
+ {
+ return _configData?.SellDiamond ?? 0;
+ }
+ }
+
+ ///
+ /// Relative
+ ///
+ public string Relative
+ {
+ get
+ {
+ return _configData?.Relative ?? "";
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public string Type
+ {
+ get
+ {
+ return _configData?.Type ?? "";
+ }
+ }
+
+ ///
+ /// Emit_ID
+ ///
+ public string Emit_ID
+ {
+ get
+ {
+ return _configData?.Emit_ID ?? "";
+ }
+ }
+
+ ///
+ /// Emit_Type
+ ///
+ public string Emit_Type
+ {
+ get
+ {
+ return _configData?.Emit_Type ?? "";
+ }
+ }
+
+ ///
+ /// Product_Type
+ ///
+ public string Product_Type
+ {
+ get
+ {
+ return _configData?.Product_Type ?? "";
+ }
+ }
+
+ ///
+ /// Order_Score
+ ///
+ public int Order_Score
+ {
+ get
+ {
+ return _configData?.Order_Score ?? 0;
+ }
+ }
+
+ ///
+ /// Emit_Product
+ ///
+ public string Emit_Product
+ {
+ get
+ {
+ return _configData?.Emit_Product ?? "";
+ }
+ }
+
+ ///
+ /// Dynamic
+ ///
+ public string Dynamic
+ {
+ get
+ {
+ return _configData?.Dynamic ?? "";
+ }
+ }
+
+ ///
+ /// Dynamic1
+ ///
+ public string Dynamic1
+ {
+ get
+ {
+ return _configData?.Dynamic1 ?? "";
+ }
+ }
+
+ ///
+ /// Dynamic2
+ ///
+ public string Dynamic2
+ {
+ get
+ {
+ return _configData?.Dynamic2 ?? "";
+ }
+ }
+
+ ///
+ /// Dynamic3
+ ///
+ public string Dynamic3
+ {
+ get
+ {
+ return _configData?.Dynamic3 ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Mergedatas != null)
+ {
+ config.Mergedatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRMergeData.cs.meta b/Scripts/DR_Generated/DRMergeData.cs.meta
new file mode 100644
index 0000000..3f88d67
--- /dev/null
+++ b/Scripts/DR_Generated/DRMergeData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6fe7d9e2339bd4c43aff27748f2c358a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRMileStoneDetail.cs b/Scripts/DR_Generated/DRMileStoneDetail.cs
new file mode 100644
index 0000000..d1ed65f
--- /dev/null
+++ b/Scripts/DR_Generated/DRMileStoneDetail.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: MileStoneDetail
+// 数据类: MileStoneDetailItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// MileStoneDetail 数据行
+ ///
+ public class DRMileStoneDetail : DataRowBase
+ {
+ private MileStoneDetailItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// Action
+ ///
+ public string Action
+ {
+ get
+ {
+ return _configData?.Action ?? "";
+ }
+ }
+
+ ///
+ /// Score
+ ///
+ public int Score
+ {
+ get
+ {
+ return _configData?.Score ?? 0;
+ }
+ }
+
+ ///
+ /// ScoreExtra
+ ///
+ public string ScoreExtra
+ {
+ get
+ {
+ return _configData?.ScoreExtra ?? "";
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Milestonedetails != null)
+ {
+ config.Milestonedetails.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRMileStoneDetail.cs.meta b/Scripts/DR_Generated/DRMileStoneDetail.cs.meta
new file mode 100644
index 0000000..c55bbba
--- /dev/null
+++ b/Scripts/DR_Generated/DRMileStoneDetail.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d7de65db0efd3ea4b9e2e3df3aac319c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRMileStoneReward.cs b/Scripts/DR_Generated/DRMileStoneReward.cs
new file mode 100644
index 0000000..0238081
--- /dev/null
+++ b/Scripts/DR_Generated/DRMileStoneReward.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: MileStoneReward
+// 数据类: MileStoneRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// MileStoneReward 数据行
+ ///
+ public class DRMileStoneReward : DataRowBase
+ {
+ private MileStoneRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// ScoreNeed
+ ///
+ public int ScoreNeed
+ {
+ get
+ {
+ return _configData?.ScoreNeed ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// ScoreTotal
+ ///
+ public int ScoreTotal
+ {
+ get
+ {
+ return _configData?.ScoreTotal ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Milestonerewards != null)
+ {
+ config.Milestonerewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRMileStoneReward.cs.meta b/Scripts/DR_Generated/DRMileStoneReward.cs.meta
new file mode 100644
index 0000000..dfbdc1f
--- /dev/null
+++ b/Scripts/DR_Generated/DRMileStoneReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 45f9f5e045250d549b0300c3afd2f81b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRMiningReward.cs b/Scripts/DR_Generated/DRMiningReward.cs
new file mode 100644
index 0000000..562b69d
--- /dev/null
+++ b/Scripts/DR_Generated/DRMiningReward.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: MiningReward
+// 数据类: MiningRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// MiningReward 数据行
+ ///
+ public class DRMiningReward : DataRowBase
+ {
+ private MiningRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Level
+ ///
+ public int Level
+ {
+ get
+ {
+ return _configData?.Level ?? 0;
+ }
+ }
+
+ ///
+ /// Gem
+ ///
+ public string Gem
+ {
+ get
+ {
+ return _configData?.Gem ?? "";
+ }
+ }
+
+ ///
+ /// Size
+ ///
+ public string Size
+ {
+ get
+ {
+ return _configData?.Size ?? "";
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Miningrewards != null)
+ {
+ config.Miningrewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRMiningReward.cs.meta b/Scripts/DR_Generated/DRMiningReward.cs.meta
new file mode 100644
index 0000000..d509190
--- /dev/null
+++ b/Scripts/DR_Generated/DRMiningReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d97d0d9be838c1647aaf543891d642ba
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRMultiLanguageResource.cs b/Scripts/DR_Generated/DRMultiLanguageResource.cs
new file mode 100644
index 0000000..d26eb69
--- /dev/null
+++ b/Scripts/DR_Generated/DRMultiLanguageResource.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: MultiLanguageResource
+// 数据类: MultiLanguageResourceItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// MultiLanguageResource 数据行
+ ///
+ public class DRMultiLanguageResource : DataRowBase
+ {
+ private MultiLanguageResourceItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Key
+ ///
+ public string Key
+ {
+ get
+ {
+ return _configData?.Key ?? "";
+ }
+ }
+
+ ///
+ /// English
+ ///
+ public string English
+ {
+ get
+ {
+ return _configData?.English ?? "";
+ }
+ }
+
+ ///
+ /// ChineseSimplified
+ ///
+ public string ChineseSimplified
+ {
+ get
+ {
+ return _configData?.ChineseSimplified ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Multilanguageresources != null)
+ {
+ config.Multilanguageresources.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRMultiLanguageResource.cs.meta b/Scripts/DR_Generated/DRMultiLanguageResource.cs.meta
new file mode 100644
index 0000000..d431a7a
--- /dev/null
+++ b/Scripts/DR_Generated/DRMultiLanguageResource.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7a7174960ee415a478453ea5ecef85f0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRMusic.cs b/Scripts/DR_Generated/DRMusic.cs
new file mode 100644
index 0000000..ea2320d
--- /dev/null
+++ b/Scripts/DR_Generated/DRMusic.cs
@@ -0,0 +1,67 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: Music
+// 数据类: MusicItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// Music 数据行
+ ///
+ public class DRMusic : DataRowBase
+ {
+ private MusicItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// AssetName
+ ///
+ public string AssetName
+ {
+ get
+ {
+ return _configData?.AssetName ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Musics != null)
+ {
+ config.Musics.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRMusic.cs.meta b/Scripts/DR_Generated/DRMusic.cs.meta
new file mode 100644
index 0000000..52836e0
--- /dev/null
+++ b/Scripts/DR_Generated/DRMusic.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 950eb5970b5792444885eed4de0fd9d3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRNPCFriendsData.cs b/Scripts/DR_Generated/DRNPCFriendsData.cs
new file mode 100644
index 0000000..f056ff9
--- /dev/null
+++ b/Scripts/DR_Generated/DRNPCFriendsData.cs
@@ -0,0 +1,155 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: NPCFriendsData
+// 数据类: NPCFriendsDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// NPCFriendsData 数据行
+ ///
+ public class DRNPCFriendsData : DataRowBase
+ {
+ private NPCFriendsDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// NameCN
+ ///
+ public string NameCN
+ {
+ get
+ {
+ return _configData?.NameCN ?? "";
+ }
+ }
+
+ ///
+ /// NamePr
+ ///
+ public string NamePr
+ {
+ get
+ {
+ return _configData?.NamePr ?? "";
+ }
+ }
+
+ ///
+ /// Level
+ ///
+ public int Level
+ {
+ get
+ {
+ return _configData?.Level ?? 0;
+ }
+ }
+
+ ///
+ /// Head
+ ///
+ public int Head
+ {
+ get
+ {
+ return _configData?.Head ?? 0;
+ }
+ }
+
+ ///
+ /// Greeting
+ ///
+ public int Greeting
+ {
+ get
+ {
+ return _configData?.Greeting ?? 0;
+ }
+ }
+
+ ///
+ /// Happy
+ ///
+ public int Happy
+ {
+ get
+ {
+ return _configData?.Happy ?? 0;
+ }
+ }
+
+ ///
+ /// Taunt
+ ///
+ public int Taunt
+ {
+ get
+ {
+ return _configData?.Taunt ?? 0;
+ }
+ }
+
+ ///
+ /// Fail
+ ///
+ public int Fail
+ {
+ get
+ {
+ return _configData?.Fail ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Npcfriendsdatas != null)
+ {
+ config.Npcfriendsdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRNPCFriendsData.cs.meta b/Scripts/DR_Generated/DRNPCFriendsData.cs.meta
new file mode 100644
index 0000000..a6a06f4
--- /dev/null
+++ b/Scripts/DR_Generated/DRNPCFriendsData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 83a3d37374d8465429597458ffad39a3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRNetAssetData.cs b/Scripts/DR_Generated/DRNetAssetData.cs
new file mode 100644
index 0000000..b74f6ff
--- /dev/null
+++ b/Scripts/DR_Generated/DRNetAssetData.cs
@@ -0,0 +1,155 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: NetAssetData
+// 数据类: NetAssetDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// NetAssetData 数据行
+ ///
+ public class DRNetAssetData : DataRowBase
+ {
+ private NetAssetDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Lv
+ ///
+ public int Lv
+ {
+ get
+ {
+ return _configData?.Lv ?? 0;
+ }
+ }
+
+ ///
+ /// Exp
+ ///
+ public int Exp
+ {
+ get
+ {
+ return _configData?.Exp ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// Unlock_1
+ ///
+ public string Unlock_1
+ {
+ get
+ {
+ return _configData?.Unlock_1 ?? "";
+ }
+ }
+
+ ///
+ /// Next_1
+ ///
+ public string Next_1
+ {
+ get
+ {
+ return _configData?.Next_1 ?? "";
+ }
+ }
+
+ ///
+ /// Remark_1
+ ///
+ public string Remark_1
+ {
+ get
+ {
+ return _configData?.Remark_1 ?? "";
+ }
+ }
+
+ ///
+ /// Unlock_2
+ ///
+ public string Unlock_2
+ {
+ get
+ {
+ return _configData?.Unlock_2 ?? "";
+ }
+ }
+
+ ///
+ /// Next_2
+ ///
+ public string Next_2
+ {
+ get
+ {
+ return _configData?.Next_2 ?? "";
+ }
+ }
+
+ ///
+ /// Remark_2
+ ///
+ public string Remark_2
+ {
+ get
+ {
+ return _configData?.Remark_2 ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Netassetdatas != null)
+ {
+ config.Netassetdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRNetAssetData.cs.meta b/Scripts/DR_Generated/DRNetAssetData.cs.meta
new file mode 100644
index 0000000..ae62d04
--- /dev/null
+++ b/Scripts/DR_Generated/DRNetAssetData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 625f7e6e3554a4c428bc9ddb6b1ad278
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRNetworkItemData.cs b/Scripts/DR_Generated/DRNetworkItemData.cs
new file mode 100644
index 0000000..a63d218
--- /dev/null
+++ b/Scripts/DR_Generated/DRNetworkItemData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: NetworkItemData
+// 数据类: NetworkItemDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// NetworkItemData 数据行
+ ///
+ public class DRNetworkItemData : DataRowBase
+ {
+ private NetworkItemDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// IType
+ ///
+ public int IType
+ {
+ get
+ {
+ return _configData?.IType ?? 0;
+ }
+ }
+
+ ///
+ /// Effect
+ ///
+ public string Effect
+ {
+ get
+ {
+ return _configData?.Effect ?? "";
+ }
+ }
+
+ ///
+ /// Res
+ ///
+ public string Res
+ {
+ get
+ {
+ return _configData?.Res ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Networkitemdatas != null)
+ {
+ config.Networkitemdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRNetworkItemData.cs.meta b/Scripts/DR_Generated/DRNetworkItemData.cs.meta
new file mode 100644
index 0000000..fa4e626
--- /dev/null
+++ b/Scripts/DR_Generated/DRNetworkItemData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ff0552adcff81f24c89577182c8bbbbe
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRNewbieDailyTaskCfg.cs b/Scripts/DR_Generated/DRNewbieDailyTaskCfg.cs
new file mode 100644
index 0000000..192df26
--- /dev/null
+++ b/Scripts/DR_Generated/DRNewbieDailyTaskCfg.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: NewbieDailyTaskCfg
+// 数据类: NewbieDailyTaskCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// NewbieDailyTaskCfg 数据行
+ ///
+ public class DRNewbieDailyTaskCfg : DataRowBase
+ {
+ private NewbieDailyTaskCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public int Type
+ {
+ get
+ {
+ return _configData?.Type ?? 0;
+ }
+ }
+
+ ///
+ /// AllCnt
+ ///
+ public int AllCnt
+ {
+ get
+ {
+ return _configData?.AllCnt ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Score
+ ///
+ public int Score
+ {
+ get
+ {
+ return _configData?.Score ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// LangID
+ ///
+ public string LangID
+ {
+ get
+ {
+ return _configData?.LangID ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Newbiedailytaskcfgs != null)
+ {
+ config.Newbiedailytaskcfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRNewbieDailyTaskCfg.cs.meta b/Scripts/DR_Generated/DRNewbieDailyTaskCfg.cs.meta
new file mode 100644
index 0000000..1d0000e
--- /dev/null
+++ b/Scripts/DR_Generated/DRNewbieDailyTaskCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9a1cf5e9897030541891f7906baad2fb
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRNewbieScoreCfg.cs b/Scripts/DR_Generated/DRNewbieScoreCfg.cs
new file mode 100644
index 0000000..52ba834
--- /dev/null
+++ b/Scripts/DR_Generated/DRNewbieScoreCfg.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: NewbieScoreCfg
+// 数据类: NewbieScoreCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// NewbieScoreCfg 数据行
+ ///
+ public class DRNewbieScoreCfg : DataRowBase
+ {
+ private NewbieScoreCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Score
+ ///
+ public int Score
+ {
+ get
+ {
+ return _configData?.Score ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Newbiescorecfgs != null)
+ {
+ config.Newbiescorecfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRNewbieScoreCfg.cs.meta b/Scripts/DR_Generated/DRNewbieScoreCfg.cs.meta
new file mode 100644
index 0000000..54f1e95
--- /dev/null
+++ b/Scripts/DR_Generated/DRNewbieScoreCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 93b48f663852d734d9c5971654212d13
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRNickNameRandomData.cs b/Scripts/DR_Generated/DRNickNameRandomData.cs
new file mode 100644
index 0000000..d9e0ba3
--- /dev/null
+++ b/Scripts/DR_Generated/DRNickNameRandomData.cs
@@ -0,0 +1,133 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: NickNameRandomData
+// 数据类: NickNameRandomDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// NickNameRandomData 数据行
+ ///
+ public class DRNickNameRandomData : DataRowBase
+ {
+ private NickNameRandomDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// EnglishAdjective
+ ///
+ public string EnglishAdjective
+ {
+ get
+ {
+ return _configData?.EnglishAdjective ?? "";
+ }
+ }
+
+ ///
+ /// EnglishNoun
+ ///
+ public string EnglishNoun
+ {
+ get
+ {
+ return _configData?.EnglishNoun ?? "";
+ }
+ }
+
+ ///
+ /// ChineseAdjective
+ ///
+ public string ChineseAdjective
+ {
+ get
+ {
+ return _configData?.ChineseAdjective ?? "";
+ }
+ }
+
+ ///
+ /// ChineseNoun
+ ///
+ public string ChineseNoun
+ {
+ get
+ {
+ return _configData?.ChineseNoun ?? "";
+ }
+ }
+
+ ///
+ /// ChineseAdjective2
+ ///
+ public string ChineseAdjective2
+ {
+ get
+ {
+ return _configData?.ChineseAdjective2 ?? "";
+ }
+ }
+
+ ///
+ /// PortugueseAdjective
+ ///
+ public string PortugueseAdjective
+ {
+ get
+ {
+ return _configData?.PortugueseAdjective ?? "";
+ }
+ }
+
+ ///
+ /// PortugueseNoun
+ ///
+ public string PortugueseNoun
+ {
+ get
+ {
+ return _configData?.PortugueseNoun ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Nicknamerandomdatas != null)
+ {
+ config.Nicknamerandomdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRNickNameRandomData.cs.meta b/Scripts/DR_Generated/DRNickNameRandomData.cs.meta
new file mode 100644
index 0000000..d493040
--- /dev/null
+++ b/Scripts/DR_Generated/DRNickNameRandomData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 08184b4fb2f8893498df7052ff163ec3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPassOne.cs b/Scripts/DR_Generated/DRPassOne.cs
new file mode 100644
index 0000000..b425fe9
--- /dev/null
+++ b/Scripts/DR_Generated/DRPassOne.cs
@@ -0,0 +1,133 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PassOne
+// 数据类: PassOneItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PassOne 数据行
+ ///
+ public class DRPassOne : DataRowBase
+ {
+ private PassOneItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Lv
+ ///
+ public int Lv
+ {
+ get
+ {
+ return _configData?.Lv ?? 0;
+ }
+ }
+
+ ///
+ /// FreeReward
+ ///
+ public string FreeReward
+ {
+ get
+ {
+ return _configData?.FreeReward ?? "";
+ }
+ }
+
+ ///
+ /// PayReward
+ ///
+ public string PayReward
+ {
+ get
+ {
+ return _configData?.PayReward ?? "";
+ }
+ }
+
+ ///
+ /// UpgradeGap
+ ///
+ public int UpgradeGap
+ {
+ get
+ {
+ return _configData?.UpgradeGap ?? 0;
+ }
+ }
+
+ ///
+ /// Price_Old
+ ///
+ public float Price_Old
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_Old ?? 0.0);
+ }
+ }
+
+ ///
+ /// Price_New
+ ///
+ public float Price_New
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_New ?? 0.0);
+ }
+ }
+
+ ///
+ /// Hour
+ ///
+ public int Hour
+ {
+ get
+ {
+ return _configData?.Hour ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Passones != null)
+ {
+ config.Passones.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPassOne.cs.meta b/Scripts/DR_Generated/DRPassOne.cs.meta
new file mode 100644
index 0000000..cc26191
--- /dev/null
+++ b/Scripts/DR_Generated/DRPassOne.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: efca8110e8731f347b96d98a040c381c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetAdWorkGift.cs b/Scripts/DR_Generated/DRPetAdWorkGift.cs
new file mode 100644
index 0000000..483924b
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetAdWorkGift.cs
@@ -0,0 +1,133 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetAdWorkGift
+// 数据类: PetAdWorkGiftItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetAdWorkGift 数据行
+ ///
+ public class DRPetAdWorkGift : DataRowBase
+ {
+ private PetAdWorkGiftItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// Price_New
+ ///
+ public float Price_New
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_New ?? 0.0);
+ }
+ }
+
+ ///
+ /// Price_Old
+ ///
+ public float Price_Old
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_Old ?? 0.0);
+ }
+ }
+
+ ///
+ /// Duration
+ ///
+ public int Duration
+ {
+ get
+ {
+ return _configData?.Duration ?? 0;
+ }
+ }
+
+ ///
+ /// Limit
+ ///
+ public int Limit
+ {
+ get
+ {
+ return _configData?.Limit ?? 0;
+ }
+ }
+
+ ///
+ /// Discount
+ ///
+ public float Discount
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Discount ?? 0.0);
+ }
+ }
+
+ ///
+ /// ChargeId
+ ///
+ public int ChargeId
+ {
+ get
+ {
+ return _configData?.ChargeId ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petadworkgifts != null)
+ {
+ config.Petadworkgifts.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetAdWorkGift.cs.meta b/Scripts/DR_Generated/DRPetAdWorkGift.cs.meta
new file mode 100644
index 0000000..869ebad
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetAdWorkGift.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 360a4370d19bc584f927c4fe9cf804c8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetAirItem.cs b/Scripts/DR_Generated/DRPetAirItem.cs
new file mode 100644
index 0000000..a354817
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetAirItem.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetAirItem
+// 数据类: PetAirItemItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetAirItem 数据行
+ ///
+ public class DRPetAirItem : DataRowBase
+ {
+ private PetAirItemItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// GroupId
+ ///
+ public int GroupId
+ {
+ get
+ {
+ return _configData?.GroupId ?? 0;
+ }
+ }
+
+ ///
+ /// ItemId
+ ///
+ public int ItemId
+ {
+ get
+ {
+ return _configData?.ItemId ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Model
+ ///
+ public string Model
+ {
+ get
+ {
+ return _configData?.Model ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petairitems != null)
+ {
+ config.Petairitems.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetAirItem.cs.meta b/Scripts/DR_Generated/DRPetAirItem.cs.meta
new file mode 100644
index 0000000..0e7b244
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetAirItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 540205c3dcffca34fb600f6da6af1f67
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetCareItem.cs b/Scripts/DR_Generated/DRPetCareItem.cs
new file mode 100644
index 0000000..336eee4
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetCareItem.cs
@@ -0,0 +1,210 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetCareItem
+// 数据类: PetCareItemItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetCareItem 数据行
+ ///
+ public class DRPetCareItem : DataRowBase
+ {
+ private PetCareItemItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// GroupId
+ ///
+ public int GroupId
+ {
+ get
+ {
+ return _configData?.GroupId ?? 0;
+ }
+ }
+
+ ///
+ /// ItemId
+ ///
+ public int ItemId
+ {
+ get
+ {
+ return _configData?.ItemId ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Model
+ ///
+ public string Model
+ {
+ get
+ {
+ return _configData?.Model ?? "";
+ }
+ }
+
+ ///
+ /// Scale
+ ///
+ public float Scale
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Scale ?? 0.0);
+ }
+ }
+
+ ///
+ /// Angle
+ ///
+ public string Angle
+ {
+ get
+ {
+ return _configData?.Angle ?? "";
+ }
+ }
+
+ ///
+ /// GetFrom
+ ///
+ public string GetFrom
+ {
+ get
+ {
+ return _configData?.GetFrom ?? "";
+ }
+ }
+
+ ///
+ /// Price
+ ///
+ public int Price
+ {
+ get
+ {
+ return _configData?.Price ?? 0;
+ }
+ }
+
+ ///
+ /// Res
+ ///
+ public string Res
+ {
+ get
+ {
+ return _configData?.Res ?? "";
+ }
+ }
+
+ ///
+ /// ReqId
+ ///
+ public int ReqId
+ {
+ get
+ {
+ return _configData?.ReqId ?? 0;
+ }
+ }
+
+ ///
+ /// Exp
+ ///
+ public int Exp
+ {
+ get
+ {
+ return _configData?.Exp ?? 0;
+ }
+ }
+
+ ///
+ /// Sort
+ ///
+ public int Sort
+ {
+ get
+ {
+ return _configData?.Sort ?? 0;
+ }
+ }
+
+ ///
+ /// Tex2D
+ ///
+ public string Tex2D
+ {
+ get
+ {
+ return _configData?.Tex2D ?? "";
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petcareitems != null)
+ {
+ config.Petcareitems.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetCareItem.cs.meta b/Scripts/DR_Generated/DRPetCareItem.cs.meta
new file mode 100644
index 0000000..9315fdd
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetCareItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a62269ccc3e59ec4b85349e3b0536e35
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetCoinGift.cs b/Scripts/DR_Generated/DRPetCoinGift.cs
new file mode 100644
index 0000000..be9ebec
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetCoinGift.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetCoinGift
+// 数据类: PetCoinGiftItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetCoinGift 数据行
+ ///
+ public class DRPetCoinGift : DataRowBase
+ {
+ private PetCoinGiftItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// Price_New
+ ///
+ public float Price_New
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_New ?? 0.0);
+ }
+ }
+
+ ///
+ /// Price_Old
+ ///
+ public float Price_Old
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_Old ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petcoingifts != null)
+ {
+ config.Petcoingifts.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetCoinGift.cs.meta b/Scripts/DR_Generated/DRPetCoinGift.cs.meta
new file mode 100644
index 0000000..02d981a
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetCoinGift.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a8bb7f971ace7e948900257b5bb96ca1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetDailyTaskCfg.cs b/Scripts/DR_Generated/DRPetDailyTaskCfg.cs
new file mode 100644
index 0000000..5ccda7d
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetDailyTaskCfg.cs
@@ -0,0 +1,111 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetDailyTaskCfg
+// 数据类: PetDailyTaskCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetDailyTaskCfg 数据行
+ ///
+ public class DRPetDailyTaskCfg : DataRowBase
+ {
+ private PetDailyTaskCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public int Type
+ {
+ get
+ {
+ return _configData?.Type ?? 0;
+ }
+ }
+
+ ///
+ /// Task
+ ///
+ public string Task
+ {
+ get
+ {
+ return _configData?.Task ?? "";
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// LangID
+ ///
+ public string LangID
+ {
+ get
+ {
+ return _configData?.LangID ?? "";
+ }
+ }
+
+ ///
+ /// GoTo
+ ///
+ public int GoTo
+ {
+ get
+ {
+ return _configData?.GoTo ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petdailytaskcfgs != null)
+ {
+ config.Petdailytaskcfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetDailyTaskCfg.cs.meta b/Scripts/DR_Generated/DRPetDailyTaskCfg.cs.meta
new file mode 100644
index 0000000..c2ed38f
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetDailyTaskCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c816fc592016d5c478fbf233f24db4aa
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetDressItem.cs b/Scripts/DR_Generated/DRPetDressItem.cs
new file mode 100644
index 0000000..dc7d9a6
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetDressItem.cs
@@ -0,0 +1,144 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetDressItem
+// 数据类: PetDressItemItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetDressItem 数据行
+ ///
+ public class DRPetDressItem : DataRowBase
+ {
+ private PetDressItemItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// GroupId
+ ///
+ public int GroupId
+ {
+ get
+ {
+ return _configData?.GroupId ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// PetModel
+ ///
+ public string PetModel
+ {
+ get
+ {
+ return _configData?.PetModel ?? "";
+ }
+ }
+
+ ///
+ /// PartModel
+ ///
+ public string PartModel
+ {
+ get
+ {
+ return _configData?.PartModel ?? "";
+ }
+ }
+
+ ///
+ /// Part
+ ///
+ public string Part
+ {
+ get
+ {
+ return _configData?.Part ?? "";
+ }
+ }
+
+ ///
+ /// Texture
+ ///
+ public string Texture
+ {
+ get
+ {
+ return _configData?.Texture ?? "";
+ }
+ }
+
+ ///
+ /// Mutex
+ ///
+ public string Mutex
+ {
+ get
+ {
+ return _configData?.Mutex ?? "";
+ }
+ }
+
+ ///
+ /// Show
+ ///
+ public int Show
+ {
+ get
+ {
+ return _configData?.Show ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petdressitems != null)
+ {
+ config.Petdressitems.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetDressItem.cs.meta b/Scripts/DR_Generated/DRPetDressItem.cs.meta
new file mode 100644
index 0000000..3f3f43a
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetDressItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 2c779010508ec354389a43b7cb9386aa
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetHomeDecorateList.cs b/Scripts/DR_Generated/DRPetHomeDecorateList.cs
new file mode 100644
index 0000000..57a672c
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetHomeDecorateList.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetHomeDecorateList
+// 数据类: PetHomeDecorateListItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetHomeDecorateList 数据行
+ ///
+ public class DRPetHomeDecorateList : DataRowBase
+ {
+ private PetHomeDecorateListItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// TypeEnum
+ ///
+ public int TypeEnum
+ {
+ get
+ {
+ return _configData?.TypeEnum ?? 0;
+ }
+ }
+
+ ///
+ /// Category
+ ///
+ public int Category
+ {
+ get
+ {
+ return _configData?.Category ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// ResPrefix
+ ///
+ public string ResPrefix
+ {
+ get
+ {
+ return _configData?.ResPrefix ?? "";
+ }
+ }
+
+ ///
+ /// English
+ ///
+ public string English
+ {
+ get
+ {
+ return _configData?.English ?? "";
+ }
+ }
+
+ ///
+ /// Chinese
+ ///
+ public string Chinese
+ {
+ get
+ {
+ return _configData?.Chinese ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Pethomedecoratelists != null)
+ {
+ config.Pethomedecoratelists.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetHomeDecorateList.cs.meta b/Scripts/DR_Generated/DRPetHomeDecorateList.cs.meta
new file mode 100644
index 0000000..d5b1886
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetHomeDecorateList.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0d70b38fce06f834cbd57a838b9924f8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetPlayJoyItem.cs b/Scripts/DR_Generated/DRPetPlayJoyItem.cs
new file mode 100644
index 0000000..35fd62a
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetPlayJoyItem.cs
@@ -0,0 +1,199 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetPlayJoyItem
+// 数据类: PetPlayJoyItemItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetPlayJoyItem 数据行
+ ///
+ public class DRPetPlayJoyItem : DataRowBase
+ {
+ private PetPlayJoyItemItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// GroupId
+ ///
+ public int GroupId
+ {
+ get
+ {
+ return _configData?.GroupId ?? 0;
+ }
+ }
+
+ ///
+ /// ItemId
+ ///
+ public int ItemId
+ {
+ get
+ {
+ return _configData?.ItemId ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Model
+ ///
+ public string Model
+ {
+ get
+ {
+ return _configData?.Model ?? "";
+ }
+ }
+
+ ///
+ /// Scale
+ ///
+ public float Scale
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Scale ?? 0.0);
+ }
+ }
+
+ ///
+ /// Angle
+ ///
+ public string Angle
+ {
+ get
+ {
+ return _configData?.Angle ?? "";
+ }
+ }
+
+ ///
+ /// GetFrom
+ ///
+ public string GetFrom
+ {
+ get
+ {
+ return _configData?.GetFrom ?? "";
+ }
+ }
+
+ ///
+ /// Price
+ ///
+ public int Price
+ {
+ get
+ {
+ return _configData?.Price ?? 0;
+ }
+ }
+
+ ///
+ /// ReqId
+ ///
+ public int ReqId
+ {
+ get
+ {
+ return _configData?.ReqId ?? 0;
+ }
+ }
+
+ ///
+ /// Exp
+ ///
+ public int Exp
+ {
+ get
+ {
+ return _configData?.Exp ?? 0;
+ }
+ }
+
+ ///
+ /// Sort
+ ///
+ public int Sort
+ {
+ get
+ {
+ return _configData?.Sort ?? 0;
+ }
+ }
+
+ ///
+ /// Tex2D
+ ///
+ public string Tex2D
+ {
+ get
+ {
+ return _configData?.Tex2D ?? "";
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petplayjoyitems != null)
+ {
+ config.Petplayjoyitems.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetPlayJoyItem.cs.meta b/Scripts/DR_Generated/DRPetPlayJoyItem.cs.meta
new file mode 100644
index 0000000..8d022d5
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetPlayJoyItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fdc4a15591a56e44fadef0405ddd91b1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetRoomUnlockCfg.cs b/Scripts/DR_Generated/DRPetRoomUnlockCfg.cs
new file mode 100644
index 0000000..97528e8
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetRoomUnlockCfg.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetRoomUnlockCfg
+// 数据类: PetRoomUnlockCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetRoomUnlockCfg 数据行
+ ///
+ public class DRPetRoomUnlockCfg : DataRowBase
+ {
+ private PetRoomUnlockCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// UnlockPoint
+ ///
+ public int UnlockPoint
+ {
+ get
+ {
+ return _configData?.UnlockPoint ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petroomunlockcfgs != null)
+ {
+ config.Petroomunlockcfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetRoomUnlockCfg.cs.meta b/Scripts/DR_Generated/DRPetRoomUnlockCfg.cs.meta
new file mode 100644
index 0000000..e352a88
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetRoomUnlockCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9f1b94503340c4341887288e887f9bd6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPetShopItem.cs b/Scripts/DR_Generated/DRPetShopItem.cs
new file mode 100644
index 0000000..e41e593
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetShopItem.cs
@@ -0,0 +1,243 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PetShopItem
+// 数据类: PetShopItemItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PetShopItem 数据行
+ ///
+ public class DRPetShopItem : DataRowBase
+ {
+ private PetShopItemItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// GroupId
+ ///
+ public int GroupId
+ {
+ get
+ {
+ return _configData?.GroupId ?? 0;
+ }
+ }
+
+ ///
+ /// Page
+ ///
+ public int Page
+ {
+ get
+ {
+ return _configData?.Page ?? 0;
+ }
+ }
+
+ ///
+ /// ItemId
+ ///
+ public int ItemId
+ {
+ get
+ {
+ return _configData?.ItemId ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// ReqId
+ ///
+ public int ReqId
+ {
+ get
+ {
+ return _configData?.ReqId ?? 0;
+ }
+ }
+
+ ///
+ /// Level
+ ///
+ public int Level
+ {
+ get
+ {
+ return _configData?.Level ?? 0;
+ }
+ }
+
+ ///
+ /// SellType
+ ///
+ public string SellType
+ {
+ get
+ {
+ return _configData?.SellType ?? "";
+ }
+ }
+
+ ///
+ /// SellPrice
+ ///
+ public int SellPrice
+ {
+ get
+ {
+ return _configData?.SellPrice ?? 0;
+ }
+ }
+
+ ///
+ /// Mood
+ ///
+ public int Mood
+ {
+ get
+ {
+ return _configData?.Mood ?? 0;
+ }
+ }
+
+ ///
+ /// BagItem
+ ///
+ public string BagItem
+ {
+ get
+ {
+ return _configData?.BagItem ?? "";
+ }
+ }
+
+ ///
+ /// Animation
+ ///
+ public string Animation
+ {
+ get
+ {
+ return _configData?.Animation ?? "";
+ }
+ }
+
+ ///
+ /// MouthPos
+ ///
+ public string MouthPos
+ {
+ get
+ {
+ return _configData?.MouthPos ?? "";
+ }
+ }
+
+ ///
+ /// BubbleRes
+ ///
+ public string BubbleRes
+ {
+ get
+ {
+ return _configData?.BubbleRes ?? "";
+ }
+ }
+
+ ///
+ /// Exp
+ ///
+ public int Exp
+ {
+ get
+ {
+ return _configData?.Exp ?? 0;
+ }
+ }
+
+ ///
+ /// Cooldown
+ ///
+ public int Cooldown
+ {
+ get
+ {
+ return _configData?.Cooldown ?? 0;
+ }
+ }
+
+ ///
+ /// Dailystorage
+ ///
+ public int Dailystorage
+ {
+ get
+ {
+ return _configData?.Dailystorage ?? 0;
+ }
+ }
+
+ ///
+ /// Name
+ ///
+ public string Name
+ {
+ get
+ {
+ return _configData?.Name ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Petshopitems != null)
+ {
+ config.Petshopitems.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPetShopItem.cs.meta b/Scripts/DR_Generated/DRPetShopItem.cs.meta
new file mode 100644
index 0000000..ce8ddf1
--- /dev/null
+++ b/Scripts/DR_Generated/DRPetShopItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7065c7cbe21f34e418424b3603088fc6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPlayHomeDecorateCfg.cs b/Scripts/DR_Generated/DRPlayHomeDecorateCfg.cs
new file mode 100644
index 0000000..333ac35
--- /dev/null
+++ b/Scripts/DR_Generated/DRPlayHomeDecorateCfg.cs
@@ -0,0 +1,188 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PlayHomeDecorateCfg
+// 数据类: PlayHomeDecorateCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PlayHomeDecorateCfg 数据行
+ ///
+ public class DRPlayHomeDecorateCfg : DataRowBase
+ {
+ private PlayHomeDecorateCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// TypeEnum
+ ///
+ public int TypeEnum
+ {
+ get
+ {
+ return _configData?.TypeEnum ?? 0;
+ }
+ }
+
+ ///
+ /// Category
+ ///
+ public int Category
+ {
+ get
+ {
+ return _configData?.Category ?? 0;
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// ResPrefix
+ ///
+ public string ResPrefix
+ {
+ get
+ {
+ return _configData?.ResPrefix ?? "";
+ }
+ }
+
+ ///
+ /// English
+ ///
+ public string English
+ {
+ get
+ {
+ return _configData?.English ?? "";
+ }
+ }
+
+ ///
+ /// Chinese
+ ///
+ public string Chinese
+ {
+ get
+ {
+ return _configData?.Chinese ?? "";
+ }
+ }
+
+ ///
+ /// Extra
+ ///
+ public int Extra
+ {
+ get
+ {
+ return _configData?.Extra ?? 0;
+ }
+ }
+
+ ///
+ /// SizeScale
+ ///
+ public float SizeScale
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.SizeScale ?? 0.0);
+ }
+ }
+
+ ///
+ /// Init
+ ///
+ public int Init
+ {
+ get
+ {
+ return _configData?.Init ?? 0;
+ }
+ }
+
+ ///
+ /// Tijiaoxian
+ ///
+ public string Tijiaoxian
+ {
+ get
+ {
+ return _configData?.Tijiaoxian ?? "";
+ }
+ }
+
+ ///
+ /// TPosY
+ ///
+ public float TPosY
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.TPosY ?? 0.0);
+ }
+ }
+
+ ///
+ /// GoName
+ ///
+ public string GoName
+ {
+ get
+ {
+ return _configData?.GoName ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Playhomedecoratecfgs != null)
+ {
+ config.Playhomedecoratecfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPlayHomeDecorateCfg.cs.meta b/Scripts/DR_Generated/DRPlayHomeDecorateCfg.cs.meta
new file mode 100644
index 0000000..2981598
--- /dev/null
+++ b/Scripts/DR_Generated/DRPlayHomeDecorateCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: eb449bda1d741594a8cdb6e954b75bc9
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRPromotionPack.cs b/Scripts/DR_Generated/DRPromotionPack.cs
new file mode 100644
index 0000000..5e1ed9d
--- /dev/null
+++ b/Scripts/DR_Generated/DRPromotionPack.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: PromotionPack
+// 数据类: PromotionPackItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// PromotionPack 数据行
+ ///
+ public class DRPromotionPack : DataRowBase
+ {
+ private PromotionPackItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Bg
+ ///
+ public string Bg
+ {
+ get
+ {
+ return _configData?.Bg ?? "";
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// Tip
+ ///
+ public string Tip
+ {
+ get
+ {
+ return _configData?.Tip ?? "";
+ }
+ }
+
+ ///
+ /// Content
+ ///
+ public string Content
+ {
+ get
+ {
+ return _configData?.Content ?? "";
+ }
+ }
+
+ ///
+ /// Price_New
+ ///
+ public float Price_New
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_New ?? 0.0);
+ }
+ }
+
+ ///
+ /// Price_Old
+ ///
+ public float Price_Old
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_Old ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Promotionpacks != null)
+ {
+ config.Promotionpacks.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRPromotionPack.cs.meta b/Scripts/DR_Generated/DRPromotionPack.cs.meta
new file mode 100644
index 0000000..6485459
--- /dev/null
+++ b/Scripts/DR_Generated/DRPromotionPack.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 49d83e01f204a9a4397432ca4dff04d9
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRRaceReward.cs b/Scripts/DR_Generated/DRRaceReward.cs
new file mode 100644
index 0000000..4b484ff
--- /dev/null
+++ b/Scripts/DR_Generated/DRRaceReward.cs
@@ -0,0 +1,111 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: RaceReward
+// 数据类: RaceRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// RaceReward 数据行
+ ///
+ public class DRRaceReward : DataRowBase
+ {
+ private RaceRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Level
+ ///
+ public int Level
+ {
+ get
+ {
+ return _configData?.Level ?? 0;
+ }
+ }
+
+ ///
+ /// Way
+ ///
+ public int Way
+ {
+ get
+ {
+ return _configData?.Way ?? 0;
+ }
+ }
+
+ ///
+ /// Score
+ ///
+ public int Score
+ {
+ get
+ {
+ return _configData?.Score ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// LimitReward
+ ///
+ public string LimitReward
+ {
+ get
+ {
+ return _configData?.LimitReward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Racerewards != null)
+ {
+ config.Racerewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRRaceReward.cs.meta b/Scripts/DR_Generated/DRRaceReward.cs.meta
new file mode 100644
index 0000000..6086a92
--- /dev/null
+++ b/Scripts/DR_Generated/DRRaceReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a1c83fb6433f7304a90d693dcb648a4c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRRankData.cs b/Scripts/DR_Generated/DRRankData.cs
new file mode 100644
index 0000000..b7ac8ba
--- /dev/null
+++ b/Scripts/DR_Generated/DRRankData.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: RankData
+// 数据类: RankDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// RankData 数据行
+ ///
+ public class DRRankData : DataRowBase
+ {
+ private RankDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Lv
+ ///
+ public int Lv
+ {
+ get
+ {
+ return _configData?.Lv ?? 0;
+ }
+ }
+
+ ///
+ /// Exp
+ ///
+ public int Exp
+ {
+ get
+ {
+ return _configData?.Exp ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Rankdatas != null)
+ {
+ config.Rankdatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRRankData.cs.meta b/Scripts/DR_Generated/DRRankData.cs.meta
new file mode 100644
index 0000000..b45c0f0
--- /dev/null
+++ b/Scripts/DR_Generated/DRRankData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4cd9c9e0a4419f04580a5d19dcd61733
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRRegionData.cs b/Scripts/DR_Generated/DRRegionData.cs
new file mode 100644
index 0000000..62928aa
--- /dev/null
+++ b/Scripts/DR_Generated/DRRegionData.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: RegionData
+// 数据类: RegionDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// RegionData 数据行
+ ///
+ public class DRRegionData : DataRowBase
+ {
+ private RegionDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// EnglishName
+ ///
+ public string EnglishName
+ {
+ get
+ {
+ return _configData?.EnglishName ?? "";
+ }
+ }
+
+ ///
+ /// ChineseName
+ ///
+ public string ChineseName
+ {
+ get
+ {
+ return _configData?.ChineseName ?? "";
+ }
+ }
+
+ ///
+ /// CountryCode
+ ///
+ public string CountryCode
+ {
+ get
+ {
+ return _configData?.CountryCode ?? "";
+ }
+ }
+
+ ///
+ /// PhoneCode
+ ///
+ public int PhoneCode
+ {
+ get
+ {
+ return _configData?.PhoneCode ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Regiondatas != null)
+ {
+ config.Regiondatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRRegionData.cs.meta b/Scripts/DR_Generated/DRRegionData.cs.meta
new file mode 100644
index 0000000..fd78a31
--- /dev/null
+++ b/Scripts/DR_Generated/DRRegionData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 61aa0832b15088844bd80a7d85c25f83
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRSceneData.cs b/Scripts/DR_Generated/DRSceneData.cs
new file mode 100644
index 0000000..5c8b98a
--- /dev/null
+++ b/Scripts/DR_Generated/DRSceneData.cs
@@ -0,0 +1,111 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: SceneData
+// 数据类: SceneDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// SceneData 数据行
+ ///
+ public class DRSceneData : DataRowBase
+ {
+ private SceneDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// SceneId
+ ///
+ public int SceneId
+ {
+ get
+ {
+ return _configData?.SceneId ?? 0;
+ }
+ }
+
+ ///
+ /// AreaId
+ ///
+ public int AreaId
+ {
+ get
+ {
+ return _configData?.AreaId ?? 0;
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// Icon
+ ///
+ public string Icon
+ {
+ get
+ {
+ return _configData?.Icon ?? "";
+ }
+ }
+
+ ///
+ /// IconGray
+ ///
+ public string IconGray
+ {
+ get
+ {
+ return _configData?.IconGray ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Scenedatas != null)
+ {
+ config.Scenedatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRSceneData.cs.meta b/Scripts/DR_Generated/DRSceneData.cs.meta
new file mode 100644
index 0000000..c8a7cf4
--- /dev/null
+++ b/Scripts/DR_Generated/DRSceneData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 2396fa4df3a4dd44789907ecebb6cf58
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRSevenLoginCfg.cs b/Scripts/DR_Generated/DRSevenLoginCfg.cs
new file mode 100644
index 0000000..654283c
--- /dev/null
+++ b/Scripts/DR_Generated/DRSevenLoginCfg.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: SevenLoginCfg
+// 数据类: SevenLoginCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// SevenLoginCfg 数据行
+ ///
+ public class DRSevenLoginCfg : DataRowBase
+ {
+ private SevenLoginCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// RewardIds
+ ///
+ public string RewardIds
+ {
+ get
+ {
+ return _configData?.RewardIds ?? "";
+ }
+ }
+
+ ///
+ /// RewardCnt
+ ///
+ public string RewardCnt
+ {
+ get
+ {
+ return _configData?.RewardCnt ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Sevenlogincfgs != null)
+ {
+ config.Sevenlogincfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRSevenLoginCfg.cs.meta b/Scripts/DR_Generated/DRSevenLoginCfg.cs.meta
new file mode 100644
index 0000000..85981e2
--- /dev/null
+++ b/Scripts/DR_Generated/DRSevenLoginCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e48105ba6efaf994daa3b2bc8466c453
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRShopItem.cs b/Scripts/DR_Generated/DRShopItem.cs
new file mode 100644
index 0000000..c669c9b
--- /dev/null
+++ b/Scripts/DR_Generated/DRShopItem.cs
@@ -0,0 +1,133 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ShopItem
+// 数据类: ShopItemItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ShopItem 数据行
+ ///
+ public class DRShopItem : DataRowBase
+ {
+ private ShopItemItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Group
+ ///
+ public string Group
+ {
+ get
+ {
+ return _configData?.Group ?? "";
+ }
+ }
+
+ ///
+ /// ObjId
+ ///
+ public string ObjId
+ {
+ get
+ {
+ return _configData?.ObjId ?? "";
+ }
+ }
+
+ ///
+ /// SellType
+ ///
+ public string SellType
+ {
+ get
+ {
+ return _configData?.SellType ?? "";
+ }
+ }
+
+ ///
+ /// SellPrice
+ ///
+ public float SellPrice
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.SellPrice ?? 0.0);
+ }
+ }
+
+ ///
+ /// TotalCount
+ ///
+ public int TotalCount
+ {
+ get
+ {
+ return _configData?.TotalCount ?? 0;
+ }
+ }
+
+ ///
+ /// MoreCount
+ ///
+ public int MoreCount
+ {
+ get
+ {
+ return _configData?.MoreCount ?? 0;
+ }
+ }
+
+ ///
+ /// MoreTip
+ ///
+ public string MoreTip
+ {
+ get
+ {
+ return _configData?.MoreTip ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Shopitems != null)
+ {
+ config.Shopitems.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRShopItem.cs.meta b/Scripts/DR_Generated/DRShopItem.cs.meta
new file mode 100644
index 0000000..63d3d3e
--- /dev/null
+++ b/Scripts/DR_Generated/DRShopItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c6db1b8d8fb3fb440911f013d457ec82
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRShopPack.cs b/Scripts/DR_Generated/DRShopPack.cs
new file mode 100644
index 0000000..fdda21a
--- /dev/null
+++ b/Scripts/DR_Generated/DRShopPack.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ShopPack
+// 数据类: ShopPackItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ShopPack 数据行
+ ///
+ public class DRShopPack : DataRowBase
+ {
+ private ShopPackItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Title
+ ///
+ public string Title
+ {
+ get
+ {
+ return _configData?.Title ?? "";
+ }
+ }
+
+ ///
+ /// Content
+ ///
+ public string Content
+ {
+ get
+ {
+ return _configData?.Content ?? "";
+ }
+ }
+
+ ///
+ /// Price_Old
+ ///
+ public float Price_Old
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_Old ?? 0.0);
+ }
+ }
+
+ ///
+ /// Price_New
+ ///
+ public float Price_New
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Price_New ?? 0.0);
+ }
+ }
+
+ ///
+ /// Discount
+ ///
+ public float Discount
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Discount ?? 0.0);
+ }
+ }
+
+ ///
+ /// TotalCount
+ ///
+ public int TotalCount
+ {
+ get
+ {
+ return _configData?.TotalCount ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Shoppacks != null)
+ {
+ config.Shoppacks.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRShopPack.cs.meta b/Scripts/DR_Generated/DRShopPack.cs.meta
new file mode 100644
index 0000000..429ada2
--- /dev/null
+++ b/Scripts/DR_Generated/DRShopPack.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b47d29adbaba92348b51ceabc58eaa2e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRShopSpecial.cs b/Scripts/DR_Generated/DRShopSpecial.cs
new file mode 100644
index 0000000..d725c88
--- /dev/null
+++ b/Scripts/DR_Generated/DRShopSpecial.cs
@@ -0,0 +1,100 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: ShopSpecial
+// 数据类: ShopSpecialItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// ShopSpecial 数据行
+ ///
+ public class DRShopSpecial : DataRowBase
+ {
+ private ShopSpecialItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Type
+ ///
+ public int Type
+ {
+ get
+ {
+ return _configData?.Type ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// PayPrice
+ ///
+ public float PayPrice
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.PayPrice ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Shopspecials != null)
+ {
+ config.Shopspecials.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRShopSpecial.cs.meta b/Scripts/DR_Generated/DRShopSpecial.cs.meta
new file mode 100644
index 0000000..942cc8a
--- /dev/null
+++ b/Scripts/DR_Generated/DRShopSpecial.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e819db26c40018c438d649b00b17ae0a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRSignInData.cs b/Scripts/DR_Generated/DRSignInData.cs
new file mode 100644
index 0000000..645db5a
--- /dev/null
+++ b/Scripts/DR_Generated/DRSignInData.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: SignInData
+// 数据类: SignInDataItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// SignInData 数据行
+ ///
+ public class DRSignInData : DataRowBase
+ {
+ private SignInDataItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// RewardLv
+ ///
+ public int RewardLv
+ {
+ get
+ {
+ return _configData?.RewardLv ?? 0;
+ }
+ }
+
+ ///
+ /// SortId
+ ///
+ public int SortId
+ {
+ get
+ {
+ return _configData?.SortId ?? 0;
+ }
+ }
+
+ ///
+ /// Reward
+ ///
+ public string Reward
+ {
+ get
+ {
+ return _configData?.Reward ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Signindatas != null)
+ {
+ config.Signindatas.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRSignInData.cs.meta b/Scripts/DR_Generated/DRSignInData.cs.meta
new file mode 100644
index 0000000..44c51ae
--- /dev/null
+++ b/Scripts/DR_Generated/DRSignInData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 24c34a674bdd272499cd4790fc49fa2f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRSound.cs b/Scripts/DR_Generated/DRSound.cs
new file mode 100644
index 0000000..1635d9d
--- /dev/null
+++ b/Scripts/DR_Generated/DRSound.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: Sound
+// 数据类: SoundItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// Sound 数据行
+ ///
+ public class DRSound : DataRowBase
+ {
+ private SoundItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// AssetName
+ ///
+ public string AssetName
+ {
+ get
+ {
+ return _configData?.AssetName ?? "";
+ }
+ }
+
+ ///
+ /// Priority
+ ///
+ public int Priority
+ {
+ get
+ {
+ return _configData?.Priority ?? 0;
+ }
+ }
+
+ ///
+ /// Loop
+ ///
+ public bool Loop
+ {
+ get
+ {
+ return _configData?.Loop ?? false;
+ }
+ }
+
+ ///
+ /// Volume
+ ///
+ public float Volume
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.Volume ?? 0.0);
+ }
+ }
+
+ ///
+ /// SpatialBlend
+ ///
+ public float SpatialBlend
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.SpatialBlend ?? 0.0);
+ }
+ }
+
+ ///
+ /// MaxDistance
+ ///
+ public float MaxDistance
+ {
+ get
+ {
+ return System.Convert.ToSingle(_configData?.MaxDistance ?? 0.0);
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Sounds != null)
+ {
+ config.Sounds.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRSound.cs.meta b/Scripts/DR_Generated/DRSound.cs.meta
new file mode 100644
index 0000000..03822f5
--- /dev/null
+++ b/Scripts/DR_Generated/DRSound.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 33c9fdb32d745024a8c8568072f48fe4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRStartMerge.cs b/Scripts/DR_Generated/DRStartMerge.cs
new file mode 100644
index 0000000..691d2be
--- /dev/null
+++ b/Scripts/DR_Generated/DRStartMerge.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: StartMerge
+// 数据类: StartMergeItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// StartMerge 数据行
+ ///
+ public class DRStartMerge : DataRowBase
+ {
+ private StartMergeItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// MergeId
+ ///
+ public int MergeId
+ {
+ get
+ {
+ return _configData?.MergeId ?? 0;
+ }
+ }
+
+ ///
+ /// Row
+ ///
+ public int Row
+ {
+ get
+ {
+ return _configData?.Row ?? 0;
+ }
+ }
+
+ ///
+ /// Line
+ ///
+ public int Line
+ {
+ get
+ {
+ return _configData?.Line ?? 0;
+ }
+ }
+
+ ///
+ /// Lock
+ ///
+ public int Lock
+ {
+ get
+ {
+ return _configData?.Lock ?? 0;
+ }
+ }
+
+ ///
+ /// UnlockLv
+ ///
+ public int UnlockLv
+ {
+ get
+ {
+ return _configData?.UnlockLv ?? 0;
+ }
+ }
+
+ ///
+ /// Remark
+ ///
+ public string Remark
+ {
+ get
+ {
+ return _configData?.Remark ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Startmerges != null)
+ {
+ config.Startmerges.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRStartMerge.cs.meta b/Scripts/DR_Generated/DRStartMerge.cs.meta
new file mode 100644
index 0000000..277edcd
--- /dev/null
+++ b/Scripts/DR_Generated/DRStartMerge.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7f0e9a4b2abf0ac4e80fdca3f2bd33c4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRStartOrder.cs b/Scripts/DR_Generated/DRStartOrder.cs
new file mode 100644
index 0000000..cb1ee8f
--- /dev/null
+++ b/Scripts/DR_Generated/DRStartOrder.cs
@@ -0,0 +1,89 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: StartOrder
+// 数据类: StartOrderItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// StartOrder 数据行
+ ///
+ public class DRStartOrder : DataRowBase
+ {
+ private StartOrderItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// Merge_id_list
+ ///
+ public string Merge_id_list
+ {
+ get
+ {
+ return _configData?.Merge_id_list ?? "";
+ }
+ }
+
+ ///
+ /// FillCount
+ ///
+ public int FillCount
+ {
+ get
+ {
+ return _configData?.FillCount ?? 0;
+ }
+ }
+
+ ///
+ /// Break
+ ///
+ public string Break
+ {
+ get
+ {
+ return _configData?.Break ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Startorders != null)
+ {
+ config.Startorders.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRStartOrder.cs.meta b/Scripts/DR_Generated/DRStartOrder.cs.meta
new file mode 100644
index 0000000..5c78990
--- /dev/null
+++ b/Scripts/DR_Generated/DRStartOrder.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e233ffea5615f354bb055db289a0bf5c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRTurnTableCfg.cs b/Scripts/DR_Generated/DRTurnTableCfg.cs
new file mode 100644
index 0000000..2741b79
--- /dev/null
+++ b/Scripts/DR_Generated/DRTurnTableCfg.cs
@@ -0,0 +1,67 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: TurnTableCfg
+// 数据类: TurnTableCfgItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// TurnTableCfg 数据行
+ ///
+ public class DRTurnTableCfg : DataRowBase
+ {
+ private TurnTableCfgItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// RewardInfo
+ ///
+ public string RewardInfo
+ {
+ get
+ {
+ return _configData?.RewardInfo ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Turntablecfgs != null)
+ {
+ config.Turntablecfgs.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRTurnTableCfg.cs.meta b/Scripts/DR_Generated/DRTurnTableCfg.cs.meta
new file mode 100644
index 0000000..1a41f28
--- /dev/null
+++ b/Scripts/DR_Generated/DRTurnTableCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 53242a4e2831e75419503a95c7f158f2
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRUIForm.cs b/Scripts/DR_Generated/DRUIForm.cs
new file mode 100644
index 0000000..bc7fb54
--- /dev/null
+++ b/Scripts/DR_Generated/DRUIForm.cs
@@ -0,0 +1,122 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: UIForm
+// 数据类: UIFormItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// UIForm 数据行
+ ///
+ public class DRUIForm : DataRowBase
+ {
+ private UIFormItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// AssetName
+ ///
+ public string AssetName
+ {
+ get
+ {
+ return _configData?.AssetName ?? "";
+ }
+ }
+
+ ///
+ /// UIGroupName
+ ///
+ public string UIGroupName
+ {
+ get
+ {
+ return _configData?.UIGroupName ?? "";
+ }
+ }
+
+ ///
+ /// AllowMultiInstance
+ ///
+ public bool AllowMultiInstance
+ {
+ get
+ {
+ return _configData?.AllowMultiInstance ?? false;
+ }
+ }
+
+ ///
+ /// PauseCoveredUIForm
+ ///
+ public bool PauseCoveredUIForm
+ {
+ get
+ {
+ return _configData?.PauseCoveredUIForm ?? false;
+ }
+ }
+
+ ///
+ /// PopUpEffect
+ ///
+ public int PopUpEffect
+ {
+ get
+ {
+ return _configData?.PopUpEffect ?? 0;
+ }
+ }
+
+ ///
+ /// AddBg
+ ///
+ public int AddBg
+ {
+ get
+ {
+ return _configData?.AddBg ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Uiforms != null)
+ {
+ config.Uiforms.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRUIForm.cs.meta b/Scripts/DR_Generated/DRUIForm.cs.meta
new file mode 100644
index 0000000..5bc4a5d
--- /dev/null
+++ b/Scripts/DR_Generated/DRUIForm.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c5aada6f0c2fea74594dad04a6f659e2
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRWashStartMerge.cs b/Scripts/DR_Generated/DRWashStartMerge.cs
new file mode 100644
index 0000000..93f3f2b
--- /dev/null
+++ b/Scripts/DR_Generated/DRWashStartMerge.cs
@@ -0,0 +1,111 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: WashStartMerge
+// 数据类: WashStartMergeItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// WashStartMerge 数据行
+ ///
+ public class DRWashStartMerge : DataRowBase
+ {
+ private WashStartMergeItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// MergeId
+ ///
+ public int MergeId
+ {
+ get
+ {
+ return _configData?.MergeId ?? 0;
+ }
+ }
+
+ ///
+ /// Row
+ ///
+ public int Row
+ {
+ get
+ {
+ return _configData?.Row ?? 0;
+ }
+ }
+
+ ///
+ /// Line
+ ///
+ public int Line
+ {
+ get
+ {
+ return _configData?.Line ?? 0;
+ }
+ }
+
+ ///
+ /// Lock
+ ///
+ public int Lock
+ {
+ get
+ {
+ return _configData?.Lock ?? 0;
+ }
+ }
+
+ ///
+ /// Remark
+ ///
+ public string Remark
+ {
+ get
+ {
+ return _configData?.Remark ?? "";
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Washstartmerges != null)
+ {
+ config.Washstartmerges.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRWashStartMerge.cs.meta b/Scripts/DR_Generated/DRWashStartMerge.cs.meta
new file mode 100644
index 0000000..d94c5bc
--- /dev/null
+++ b/Scripts/DR_Generated/DRWashStartMerge.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 42170e280b5c2e141a57abd110fb561f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/DR_Generated/DRWeekTaskReward.cs b/Scripts/DR_Generated/DRWeekTaskReward.cs
new file mode 100644
index 0000000..e30fb88
--- /dev/null
+++ b/Scripts/DR_Generated/DRWeekTaskReward.cs
@@ -0,0 +1,78 @@
+// 此文件由 ThriftIntegratedPipeline 自动生成,请勿手动修改
+// 配置类: WeekTaskReward
+// 数据类: WeekTaskRewardItem
+
+using UnityEngine;
+using Byway.Config;
+using Byway.Thrift.Data;
+using UnityGameFramework.Runtime;
+
+namespace CrazyMaple
+{
+ ///
+ /// WeekTaskReward 数据行
+ ///
+ public class DRWeekTaskReward : DataRowBase
+ {
+ private WeekTaskRewardItem _configData;
+
+ ///
+ /// 唯一标识
+ ///
+ public override int Id
+ {
+ get
+ {
+ return _configData?.Id ?? 0;
+ }
+ }
+
+ ///
+ /// ItemReward
+ ///
+ public string ItemReward
+ {
+ get
+ {
+ return _configData?.ItemReward ?? "";
+ }
+ }
+
+ ///
+ /// NeedActive
+ ///
+ public int NeedActive
+ {
+ get
+ {
+ return _configData?.NeedActive ?? 0;
+ }
+ }
+
+ ///
+ /// 从配置加载数据
+ ///
+ public void LoadFromConfig(int id)
+ {
+ var config = ConfigManager.Instance.GetConfig();
+ if (config?.Weektaskrewards != null)
+ {
+ config.Weektaskrewards.TryGetValue(id, out _configData);
+ }
+ }
+
+ ///
+ /// 解析数据行(兼容旧系统,实际使用 LoadFromConfig)
+ ///
+ public override bool ParseDataRow(string dataRowString, object userData)
+ {
+ int id = 0;
+ if (int.TryParse(dataRowString, out id))
+ {
+ LoadFromConfig(id);
+ return _configData != null;
+ }
+ return false;
+ }
+ }
+}
diff --git a/Scripts/DR_Generated/DRWeekTaskReward.cs.meta b/Scripts/DR_Generated/DRWeekTaskReward.cs.meta
new file mode 100644
index 0000000..069d807
--- /dev/null
+++ b/Scripts/DR_Generated/DRWeekTaskReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: dd458e3e425c4b841b0038123e99f01a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift.meta b/Scripts/thrift.meta
new file mode 100644
index 0000000..8c0558a
--- /dev/null
+++ b/Scripts/thrift.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 1f32c59680a7c1d41875df76c0f6b2a5
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd.meta b/Scripts/thrift/gen-netstd.meta
new file mode 100644
index 0000000..5506802
--- /dev/null
+++ b/Scripts/thrift/gen-netstd.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 4e4a1d622d33e3d47bb36e9a72cd6465
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway.meta b/Scripts/thrift/gen-netstd/Byway.meta
new file mode 100644
index 0000000..278976c
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 87e86ed84156045469a4206e096d068f
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift.meta b/Scripts/thrift/gen-netstd/Byway/Thrift.meta
new file mode 100644
index 0000000..0928558
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 1418a6bfcbd9e0545afe0d7828950378
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data.meta
new file mode 100644
index 0000000..0bd9edb
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: f9489f2c6d13bb7499d18a7668f71aad
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.Extensions.cs
new file mode 100644
index 0000000..9ddb839
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.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 AdGiftDataExtensions
+ {
+ 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/AdGiftData.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.Extensions.cs.meta
new file mode 100644
index 0000000..c01ccc5
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 718a95fbd74338d4daa4e5e186182e16
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.cs
new file mode 100644
index 0000000..07c036c
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.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 AdGiftData : TBase
+ {
+ private Dictionary _adgiftdatas;
+
+ [DataMember(Order = 0)]
+ public Dictionary Adgiftdatas
+ {
+ get
+ {
+ return _adgiftdatas;
+ }
+ set
+ {
+ __isset.@adgiftdatas = true;
+ this._adgiftdatas = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @adgiftdatas;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeAdgiftdatas()
+ {
+ return __isset.@adgiftdatas;
+ }
+
+ #endregion XmlSerializer support
+
+ public AdGiftData()
+ {
+ }
+
+ public AdGiftData DeepCopy()
+ {
+ var tmp5 = new AdGiftData();
+ if((Adgiftdatas != null) && __isset.@adgiftdatas)
+ {
+ tmp5.Adgiftdatas = this.Adgiftdatas.DeepCopy();
+ }
+ tmp5.__isset.@adgiftdatas = this.__isset.@adgiftdatas;
+ 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);
+ Adgiftdatas = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.AdGiftDataItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.AdGiftDataItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Adgiftdatas[_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("AdGiftData");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Adgiftdatas != null) && __isset.@adgiftdatas)
+ {
+ tmp11.Name = "adgiftdatas";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Adgiftdatas.Count), cancellationToken);
+ foreach (int _iter12 in Adgiftdatas.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Adgiftdatas[_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 AdGiftData other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@adgiftdatas == other.__isset.@adgiftdatas) && ((!__isset.@adgiftdatas) || (TCollections.Equals(Adgiftdatas, other.Adgiftdatas))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Adgiftdatas != null) && __isset.@adgiftdatas)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Adgiftdatas);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("AdGiftData(");
+ int tmp14 = 0;
+ if((Adgiftdatas != null) && __isset.@adgiftdatas)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Adgiftdatas: ");
+ Adgiftdatas.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.cs.meta
new file mode 100644
index 0000000..e1feae5
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 02dcb446ef74728409ec31ac871f001b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftDataItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftDataItem.cs
new file mode 100644
index 0000000..04ec35e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftDataItem.cs
@@ -0,0 +1,366 @@
+/**
+ *
+ * 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 AdGiftDataItem : TBase
+ {
+ private int _Id;
+ private int _SortId;
+ private int _NeedScore;
+ private string _ItemReward;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int SortId
+ {
+ get
+ {
+ return _SortId;
+ }
+ set
+ {
+ __isset.SortId = true;
+ this._SortId = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int NeedScore
+ {
+ get
+ {
+ return _NeedScore;
+ }
+ set
+ {
+ __isset.NeedScore = true;
+ this._NeedScore = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemReward
+ {
+ get
+ {
+ return _ItemReward;
+ }
+ set
+ {
+ __isset.ItemReward = true;
+ this._ItemReward = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool SortId;
+ [DataMember]
+ public bool NeedScore;
+ [DataMember]
+ public bool ItemReward;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeSortId()
+ {
+ return __isset.SortId;
+ }
+
+ public bool ShouldSerializeNeedScore()
+ {
+ return __isset.NeedScore;
+ }
+
+ public bool ShouldSerializeItemReward()
+ {
+ return __isset.ItemReward;
+ }
+
+ #endregion XmlSerializer support
+
+ public AdGiftDataItem()
+ {
+ }
+
+ public AdGiftDataItem DeepCopy()
+ {
+ var tmp0 = new AdGiftDataItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.SortId)
+ {
+ tmp0.SortId = this.SortId;
+ }
+ tmp0.__isset.SortId = this.__isset.SortId;
+ if(__isset.NeedScore)
+ {
+ tmp0.NeedScore = this.NeedScore;
+ }
+ tmp0.__isset.NeedScore = this.__isset.NeedScore;
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp0.ItemReward = this.ItemReward;
+ }
+ tmp0.__isset.ItemReward = this.__isset.ItemReward;
+ 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)
+ {
+ SortId = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ NeedScore = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ ItemReward = 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("AdGiftDataItem");
+ 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.SortId)
+ {
+ tmp2.Name = "SortId";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(SortId, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.NeedScore)
+ {
+ tmp2.Name = "NeedScore";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(NeedScore, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp2.Name = "ItemReward";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemReward, 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 AdGiftDataItem 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.SortId == other.__isset.SortId) && ((!__isset.SortId) || (global::System.Object.Equals(SortId, other.SortId))))
+ && ((__isset.NeedScore == other.__isset.NeedScore) && ((!__isset.NeedScore) || (global::System.Object.Equals(NeedScore, other.NeedScore))))
+ && ((__isset.ItemReward == other.__isset.ItemReward) && ((!__isset.ItemReward) || (global::System.Object.Equals(ItemReward, other.ItemReward))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.SortId)
+ {
+ hashcode = (hashcode * 397) + SortId.GetHashCode();
+ }
+ if(__isset.NeedScore)
+ {
+ hashcode = (hashcode * 397) + NeedScore.GetHashCode();
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ hashcode = (hashcode * 397) + ItemReward.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("AdGiftDataItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.SortId)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("SortId: ");
+ SortId.ToString(tmp3);
+ }
+ if(__isset.NeedScore)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NeedScore: ");
+ NeedScore.ToString(tmp3);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemReward: ");
+ ItemReward.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftDataItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftDataItem.cs.meta
new file mode 100644
index 0000000..f6913cb
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AdGiftDataItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1640cd38a3459f940adc2cb13772d425
+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
new file mode 100644
index 0000000..327fee1
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs
@@ -0,0 +1,5010 @@
+/**
+ *
+ * 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 AllConfigs : TBase
+ {
+ private global::Byway.Thrift.Data.AdGiftData _AdGiftData;
+ private global::Byway.Thrift.Data.BagItemConfig _BagItemConfig;
+ private global::Byway.Thrift.Data.BonusValue _BonusValue;
+ private global::Byway.Thrift.Data.CardDetailCfg _CardDetailCfg;
+ private global::Byway.Thrift.Data.CardPackCfg _CardPackCfg;
+ private global::Byway.Thrift.Data.CardStickerExchangeCfg _CardStickerExchangeCfg;
+ private global::Byway.Thrift.Data.CatsGardenMultiplyData _CatsGardenMultiplyData;
+ private global::Byway.Thrift.Data.CatsGardenProgressData _CatsGardenProgressData;
+ private global::Byway.Thrift.Data.CatsGardenSlotData _CatsGardenSlotData;
+ private global::Byway.Thrift.Data.CatsGardenTempleteData _CatsGardenTempleteData;
+ private global::Byway.Thrift.Data.CatTrickData _CatTrickData;
+ private global::Byway.Thrift.Data.ChampshipCfg _ChampshipCfg;
+ private global::Byway.Thrift.Data.ChampshipRankReward _ChampshipRankReward;
+ private global::Byway.Thrift.Data.ChampshipScoreReward _ChampshipScoreReward;
+ private global::Byway.Thrift.Data.ChineseResMap _ChineseResMap;
+ private global::Byway.Thrift.Data.CollectionRoomReward _CollectionRoomReward;
+ private global::Byway.Thrift.Data.CollectionsRewardsData _CollectionsRewardsData;
+ private global::Byway.Thrift.Data.ComboGift _ComboGift;
+ private global::Byway.Thrift.Data.ComboGiftTwo _ComboGiftTwo;
+ private global::Byway.Thrift.Data.DailyTaskActiveCfg _DailyTaskActiveCfg;
+ private global::Byway.Thrift.Data.DailyTaskConfig _DailyTaskConfig;
+ private global::Byway.Thrift.Data.DailyTaskDetail _DailyTaskDetail;
+ private global::Byway.Thrift.Data.DailyTaskReward _DailyTaskReward;
+ private global::Byway.Thrift.Data.DecorateCost _DecorateCost;
+ private global::Byway.Thrift.Data.DialogData _DialogData;
+ private global::Byway.Thrift.Data.EmiterRetreatData _EmiterRetreatData;
+ private global::Byway.Thrift.Data.EmojiData _EmojiData;
+ private global::Byway.Thrift.Data.EndlessGift _EndlessGift;
+ private global::Byway.Thrift.Data.EnergyLimitGift _EnergyLimitGift;
+ private global::Byway.Thrift.Data.FrameData _FrameData;
+ private global::Byway.Thrift.Data.GrowthFund _GrowthFund;
+ private global::Byway.Thrift.Data.GuessReward _GuessReward;
+ private global::Byway.Thrift.Data.GuideData _GuideData;
+ private global::Byway.Thrift.Data.HandbookReward _HandbookReward;
+ private global::Byway.Thrift.Data.HeadData _HeadData;
+ private global::Byway.Thrift.Data.HowToPlay _HowToPlay;
+ private global::Byway.Thrift.Data.IndoorProgress _IndoorProgress;
+ private global::Byway.Thrift.Data.LanguageData _LanguageData;
+ private global::Byway.Thrift.Data.LevelData _LevelData;
+ private global::Byway.Thrift.Data.LuckyCatData _LuckyCatData;
+ private global::Byway.Thrift.Data.LuckyCatProbability _LuckyCatProbability;
+ private global::Byway.Thrift.Data.MainCardCollect _MainCardCollect;
+ private global::Byway.Thrift.Data.MergeData _MergeData;
+ private global::Byway.Thrift.Data.MileStoneDetail _MileStoneDetail;
+ private global::Byway.Thrift.Data.MileStoneReward _MileStoneReward;
+ private global::Byway.Thrift.Data.MiningReward _MiningReward;
+ private global::Byway.Thrift.Data.MultiLanguageResource _MultiLanguageResource;
+ private global::Byway.Thrift.Data.Music _Music;
+ private global::Byway.Thrift.Data.NetAssetData _NetAssetData;
+ private global::Byway.Thrift.Data.NetworkItemData _NetworkItemData;
+ private global::Byway.Thrift.Data.NewbieDailyTaskCfg _NewbieDailyTaskCfg;
+ private global::Byway.Thrift.Data.NewbieScoreCfg _NewbieScoreCfg;
+ private global::Byway.Thrift.Data.NPCFriendsData _NPCFriendsData;
+ private global::Byway.Thrift.Data.PassOne _PassOne;
+ private global::Byway.Thrift.Data.PetAdWorkGift _PetAdWorkGift;
+ private global::Byway.Thrift.Data.PetAirItem _PetAirItem;
+ private global::Byway.Thrift.Data.PetCareItem _PetCareItem;
+ private global::Byway.Thrift.Data.PetCoinGift _PetCoinGift;
+ private global::Byway.Thrift.Data.PetDailyTaskCfg _PetDailyTaskCfg;
+ private global::Byway.Thrift.Data.PetDressItem _PetDressItem;
+ private global::Byway.Thrift.Data.PetHomeDecorateList _PetHomeDecorateList;
+ private global::Byway.Thrift.Data.PetPlayJoyItem _PetPlayJoyItem;
+ private global::Byway.Thrift.Data.PetRoomUnlockCfg _PetRoomUnlockCfg;
+ private global::Byway.Thrift.Data.PetShopItem _PetShopItem;
+ private global::Byway.Thrift.Data.PlayHomeDecorateCfg _PlayHomeDecorateCfg;
+ private global::Byway.Thrift.Data.PromotionPack _PromotionPack;
+ private global::Byway.Thrift.Data.RaceReward _RaceReward;
+ private global::Byway.Thrift.Data.RankData _RankData;
+ private global::Byway.Thrift.Data.RegionData _RegionData;
+ private global::Byway.Thrift.Data.SceneData _SceneData;
+ private global::Byway.Thrift.Data.SevenLoginCfg _SevenLoginCfg;
+ private global::Byway.Thrift.Data.ShopItem _ShopItem;
+ private global::Byway.Thrift.Data.ShopPack _ShopPack;
+ private global::Byway.Thrift.Data.ShopSpecial _ShopSpecial;
+ private global::Byway.Thrift.Data.SignInData _SignInData;
+ private global::Byway.Thrift.Data.Sound _Sound;
+ private global::Byway.Thrift.Data.StartMerge _StartMerge;
+ private global::Byway.Thrift.Data.StartOrder _StartOrder;
+ private global::Byway.Thrift.Data.TurnTableCfg _TurnTableCfg;
+ private global::Byway.Thrift.Data.UIForm _UIForm;
+ private global::Byway.Thrift.Data.WashStartMerge _WashStartMerge;
+ private global::Byway.Thrift.Data.WeekTaskReward _WeekTaskReward;
+ private global::Byway.Thrift.Data.LevelLauncherData _LevelLauncherData;
+ private global::Byway.Thrift.Data.NickNameRandomData _NickNameRandomData;
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.AdGiftData AdGiftData
+ {
+ get
+ {
+ return _AdGiftData;
+ }
+ set
+ {
+ __isset.AdGiftData = true;
+ this._AdGiftData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.BagItemConfig BagItemConfig
+ {
+ get
+ {
+ return _BagItemConfig;
+ }
+ set
+ {
+ __isset.BagItemConfig = true;
+ this._BagItemConfig = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.BonusValue BonusValue
+ {
+ get
+ {
+ return _BonusValue;
+ }
+ set
+ {
+ __isset.BonusValue = true;
+ this._BonusValue = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CardDetailCfg CardDetailCfg
+ {
+ get
+ {
+ return _CardDetailCfg;
+ }
+ set
+ {
+ __isset.CardDetailCfg = true;
+ this._CardDetailCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CardPackCfg CardPackCfg
+ {
+ get
+ {
+ return _CardPackCfg;
+ }
+ set
+ {
+ __isset.CardPackCfg = true;
+ this._CardPackCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CardStickerExchangeCfg CardStickerExchangeCfg
+ {
+ get
+ {
+ return _CardStickerExchangeCfg;
+ }
+ set
+ {
+ __isset.CardStickerExchangeCfg = true;
+ this._CardStickerExchangeCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CatsGardenMultiplyData CatsGardenMultiplyData
+ {
+ get
+ {
+ return _CatsGardenMultiplyData;
+ }
+ set
+ {
+ __isset.CatsGardenMultiplyData = true;
+ this._CatsGardenMultiplyData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CatsGardenProgressData CatsGardenProgressData
+ {
+ get
+ {
+ return _CatsGardenProgressData;
+ }
+ set
+ {
+ __isset.CatsGardenProgressData = true;
+ this._CatsGardenProgressData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CatsGardenSlotData CatsGardenSlotData
+ {
+ get
+ {
+ return _CatsGardenSlotData;
+ }
+ set
+ {
+ __isset.CatsGardenSlotData = true;
+ this._CatsGardenSlotData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CatsGardenTempleteData CatsGardenTempleteData
+ {
+ get
+ {
+ return _CatsGardenTempleteData;
+ }
+ set
+ {
+ __isset.CatsGardenTempleteData = true;
+ this._CatsGardenTempleteData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CatTrickData CatTrickData
+ {
+ get
+ {
+ return _CatTrickData;
+ }
+ set
+ {
+ __isset.CatTrickData = true;
+ this._CatTrickData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ChampshipCfg ChampshipCfg
+ {
+ get
+ {
+ return _ChampshipCfg;
+ }
+ set
+ {
+ __isset.ChampshipCfg = true;
+ this._ChampshipCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ChampshipRankReward ChampshipRankReward
+ {
+ get
+ {
+ return _ChampshipRankReward;
+ }
+ set
+ {
+ __isset.ChampshipRankReward = true;
+ this._ChampshipRankReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ChampshipScoreReward ChampshipScoreReward
+ {
+ get
+ {
+ return _ChampshipScoreReward;
+ }
+ set
+ {
+ __isset.ChampshipScoreReward = true;
+ this._ChampshipScoreReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ChineseResMap ChineseResMap
+ {
+ get
+ {
+ return _ChineseResMap;
+ }
+ set
+ {
+ __isset.ChineseResMap = true;
+ this._ChineseResMap = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CollectionRoomReward CollectionRoomReward
+ {
+ get
+ {
+ return _CollectionRoomReward;
+ }
+ set
+ {
+ __isset.CollectionRoomReward = true;
+ this._CollectionRoomReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.CollectionsRewardsData CollectionsRewardsData
+ {
+ get
+ {
+ return _CollectionsRewardsData;
+ }
+ set
+ {
+ __isset.CollectionsRewardsData = true;
+ this._CollectionsRewardsData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ComboGift ComboGift
+ {
+ get
+ {
+ return _ComboGift;
+ }
+ set
+ {
+ __isset.ComboGift = true;
+ this._ComboGift = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ComboGiftTwo ComboGiftTwo
+ {
+ get
+ {
+ return _ComboGiftTwo;
+ }
+ set
+ {
+ __isset.ComboGiftTwo = true;
+ this._ComboGiftTwo = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.DailyTaskActiveCfg DailyTaskActiveCfg
+ {
+ get
+ {
+ return _DailyTaskActiveCfg;
+ }
+ set
+ {
+ __isset.DailyTaskActiveCfg = true;
+ this._DailyTaskActiveCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.DailyTaskConfig DailyTaskConfig
+ {
+ get
+ {
+ return _DailyTaskConfig;
+ }
+ set
+ {
+ __isset.DailyTaskConfig = true;
+ this._DailyTaskConfig = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.DailyTaskDetail DailyTaskDetail
+ {
+ get
+ {
+ return _DailyTaskDetail;
+ }
+ set
+ {
+ __isset.DailyTaskDetail = true;
+ this._DailyTaskDetail = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.DailyTaskReward DailyTaskReward
+ {
+ get
+ {
+ return _DailyTaskReward;
+ }
+ set
+ {
+ __isset.DailyTaskReward = true;
+ this._DailyTaskReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.DecorateCost DecorateCost
+ {
+ get
+ {
+ return _DecorateCost;
+ }
+ set
+ {
+ __isset.DecorateCost = true;
+ this._DecorateCost = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.DialogData DialogData
+ {
+ get
+ {
+ return _DialogData;
+ }
+ set
+ {
+ __isset.DialogData = true;
+ this._DialogData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.EmiterRetreatData EmiterRetreatData
+ {
+ get
+ {
+ return _EmiterRetreatData;
+ }
+ set
+ {
+ __isset.EmiterRetreatData = true;
+ this._EmiterRetreatData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.EmojiData EmojiData
+ {
+ get
+ {
+ return _EmojiData;
+ }
+ set
+ {
+ __isset.EmojiData = true;
+ this._EmojiData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.EndlessGift EndlessGift
+ {
+ get
+ {
+ return _EndlessGift;
+ }
+ set
+ {
+ __isset.EndlessGift = true;
+ this._EndlessGift = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.EnergyLimitGift EnergyLimitGift
+ {
+ get
+ {
+ return _EnergyLimitGift;
+ }
+ set
+ {
+ __isset.EnergyLimitGift = true;
+ this._EnergyLimitGift = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.FrameData FrameData
+ {
+ get
+ {
+ return _FrameData;
+ }
+ set
+ {
+ __isset.FrameData = true;
+ this._FrameData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.GrowthFund GrowthFund
+ {
+ get
+ {
+ return _GrowthFund;
+ }
+ set
+ {
+ __isset.GrowthFund = true;
+ this._GrowthFund = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.GuessReward GuessReward
+ {
+ get
+ {
+ return _GuessReward;
+ }
+ set
+ {
+ __isset.GuessReward = true;
+ this._GuessReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.GuideData GuideData
+ {
+ get
+ {
+ return _GuideData;
+ }
+ set
+ {
+ __isset.GuideData = true;
+ this._GuideData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.HandbookReward HandbookReward
+ {
+ get
+ {
+ return _HandbookReward;
+ }
+ set
+ {
+ __isset.HandbookReward = true;
+ this._HandbookReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.HeadData HeadData
+ {
+ get
+ {
+ return _HeadData;
+ }
+ set
+ {
+ __isset.HeadData = true;
+ this._HeadData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.HowToPlay HowToPlay
+ {
+ get
+ {
+ return _HowToPlay;
+ }
+ set
+ {
+ __isset.HowToPlay = true;
+ this._HowToPlay = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.IndoorProgress IndoorProgress
+ {
+ get
+ {
+ return _IndoorProgress;
+ }
+ set
+ {
+ __isset.IndoorProgress = true;
+ this._IndoorProgress = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.LanguageData LanguageData
+ {
+ get
+ {
+ return _LanguageData;
+ }
+ set
+ {
+ __isset.LanguageData = true;
+ this._LanguageData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.LevelData LevelData
+ {
+ get
+ {
+ return _LevelData;
+ }
+ set
+ {
+ __isset.LevelData = true;
+ this._LevelData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.LuckyCatData LuckyCatData
+ {
+ get
+ {
+ return _LuckyCatData;
+ }
+ set
+ {
+ __isset.LuckyCatData = true;
+ this._LuckyCatData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.LuckyCatProbability LuckyCatProbability
+ {
+ get
+ {
+ return _LuckyCatProbability;
+ }
+ set
+ {
+ __isset.LuckyCatProbability = true;
+ this._LuckyCatProbability = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.MainCardCollect MainCardCollect
+ {
+ get
+ {
+ return _MainCardCollect;
+ }
+ set
+ {
+ __isset.MainCardCollect = true;
+ this._MainCardCollect = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.MergeData MergeData
+ {
+ get
+ {
+ return _MergeData;
+ }
+ set
+ {
+ __isset.MergeData = true;
+ this._MergeData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.MileStoneDetail MileStoneDetail
+ {
+ get
+ {
+ return _MileStoneDetail;
+ }
+ set
+ {
+ __isset.MileStoneDetail = true;
+ this._MileStoneDetail = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.MileStoneReward MileStoneReward
+ {
+ get
+ {
+ return _MileStoneReward;
+ }
+ set
+ {
+ __isset.MileStoneReward = true;
+ this._MileStoneReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.MiningReward MiningReward
+ {
+ get
+ {
+ return _MiningReward;
+ }
+ set
+ {
+ __isset.MiningReward = true;
+ this._MiningReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.MultiLanguageResource MultiLanguageResource
+ {
+ get
+ {
+ return _MultiLanguageResource;
+ }
+ set
+ {
+ __isset.MultiLanguageResource = true;
+ this._MultiLanguageResource = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.Music Music
+ {
+ get
+ {
+ return _Music;
+ }
+ set
+ {
+ __isset.Music = true;
+ this._Music = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.NetAssetData NetAssetData
+ {
+ get
+ {
+ return _NetAssetData;
+ }
+ set
+ {
+ __isset.NetAssetData = true;
+ this._NetAssetData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.NetworkItemData NetworkItemData
+ {
+ get
+ {
+ return _NetworkItemData;
+ }
+ set
+ {
+ __isset.NetworkItemData = true;
+ this._NetworkItemData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.NewbieDailyTaskCfg NewbieDailyTaskCfg
+ {
+ get
+ {
+ return _NewbieDailyTaskCfg;
+ }
+ set
+ {
+ __isset.NewbieDailyTaskCfg = true;
+ this._NewbieDailyTaskCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.NewbieScoreCfg NewbieScoreCfg
+ {
+ get
+ {
+ return _NewbieScoreCfg;
+ }
+ set
+ {
+ __isset.NewbieScoreCfg = true;
+ this._NewbieScoreCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.NPCFriendsData NPCFriendsData
+ {
+ get
+ {
+ return _NPCFriendsData;
+ }
+ set
+ {
+ __isset.NPCFriendsData = true;
+ this._NPCFriendsData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PassOne PassOne
+ {
+ get
+ {
+ return _PassOne;
+ }
+ set
+ {
+ __isset.PassOne = true;
+ this._PassOne = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetAdWorkGift PetAdWorkGift
+ {
+ get
+ {
+ return _PetAdWorkGift;
+ }
+ set
+ {
+ __isset.PetAdWorkGift = true;
+ this._PetAdWorkGift = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetAirItem PetAirItem
+ {
+ get
+ {
+ return _PetAirItem;
+ }
+ set
+ {
+ __isset.PetAirItem = true;
+ this._PetAirItem = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetCareItem PetCareItem
+ {
+ get
+ {
+ return _PetCareItem;
+ }
+ set
+ {
+ __isset.PetCareItem = true;
+ this._PetCareItem = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetCoinGift PetCoinGift
+ {
+ get
+ {
+ return _PetCoinGift;
+ }
+ set
+ {
+ __isset.PetCoinGift = true;
+ this._PetCoinGift = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetDailyTaskCfg PetDailyTaskCfg
+ {
+ get
+ {
+ return _PetDailyTaskCfg;
+ }
+ set
+ {
+ __isset.PetDailyTaskCfg = true;
+ this._PetDailyTaskCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetDressItem PetDressItem
+ {
+ get
+ {
+ return _PetDressItem;
+ }
+ set
+ {
+ __isset.PetDressItem = true;
+ this._PetDressItem = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetHomeDecorateList PetHomeDecorateList
+ {
+ get
+ {
+ return _PetHomeDecorateList;
+ }
+ set
+ {
+ __isset.PetHomeDecorateList = true;
+ this._PetHomeDecorateList = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetPlayJoyItem PetPlayJoyItem
+ {
+ get
+ {
+ return _PetPlayJoyItem;
+ }
+ set
+ {
+ __isset.PetPlayJoyItem = true;
+ this._PetPlayJoyItem = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetRoomUnlockCfg PetRoomUnlockCfg
+ {
+ get
+ {
+ return _PetRoomUnlockCfg;
+ }
+ set
+ {
+ __isset.PetRoomUnlockCfg = true;
+ this._PetRoomUnlockCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PetShopItem PetShopItem
+ {
+ get
+ {
+ return _PetShopItem;
+ }
+ set
+ {
+ __isset.PetShopItem = true;
+ this._PetShopItem = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PlayHomeDecorateCfg PlayHomeDecorateCfg
+ {
+ get
+ {
+ return _PlayHomeDecorateCfg;
+ }
+ set
+ {
+ __isset.PlayHomeDecorateCfg = true;
+ this._PlayHomeDecorateCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.PromotionPack PromotionPack
+ {
+ get
+ {
+ return _PromotionPack;
+ }
+ set
+ {
+ __isset.PromotionPack = true;
+ this._PromotionPack = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.RaceReward RaceReward
+ {
+ get
+ {
+ return _RaceReward;
+ }
+ set
+ {
+ __isset.RaceReward = true;
+ this._RaceReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.RankData RankData
+ {
+ get
+ {
+ return _RankData;
+ }
+ set
+ {
+ __isset.RankData = true;
+ this._RankData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.RegionData RegionData
+ {
+ get
+ {
+ return _RegionData;
+ }
+ set
+ {
+ __isset.RegionData = true;
+ this._RegionData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.SceneData SceneData
+ {
+ get
+ {
+ return _SceneData;
+ }
+ set
+ {
+ __isset.SceneData = true;
+ this._SceneData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.SevenLoginCfg SevenLoginCfg
+ {
+ get
+ {
+ return _SevenLoginCfg;
+ }
+ set
+ {
+ __isset.SevenLoginCfg = true;
+ this._SevenLoginCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ShopItem ShopItem
+ {
+ get
+ {
+ return _ShopItem;
+ }
+ set
+ {
+ __isset.ShopItem = true;
+ this._ShopItem = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ShopPack ShopPack
+ {
+ get
+ {
+ return _ShopPack;
+ }
+ set
+ {
+ __isset.ShopPack = true;
+ this._ShopPack = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.ShopSpecial ShopSpecial
+ {
+ get
+ {
+ return _ShopSpecial;
+ }
+ set
+ {
+ __isset.ShopSpecial = true;
+ this._ShopSpecial = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.SignInData SignInData
+ {
+ get
+ {
+ return _SignInData;
+ }
+ set
+ {
+ __isset.SignInData = true;
+ this._SignInData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.Sound Sound
+ {
+ get
+ {
+ return _Sound;
+ }
+ set
+ {
+ __isset.Sound = true;
+ this._Sound = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.StartMerge StartMerge
+ {
+ get
+ {
+ return _StartMerge;
+ }
+ set
+ {
+ __isset.StartMerge = true;
+ this._StartMerge = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.StartOrder StartOrder
+ {
+ get
+ {
+ return _StartOrder;
+ }
+ set
+ {
+ __isset.StartOrder = true;
+ this._StartOrder = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.TurnTableCfg TurnTableCfg
+ {
+ get
+ {
+ return _TurnTableCfg;
+ }
+ set
+ {
+ __isset.TurnTableCfg = true;
+ this._TurnTableCfg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.UIForm UIForm
+ {
+ get
+ {
+ return _UIForm;
+ }
+ set
+ {
+ __isset.UIForm = true;
+ this._UIForm = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.WashStartMerge WashStartMerge
+ {
+ get
+ {
+ return _WashStartMerge;
+ }
+ set
+ {
+ __isset.WashStartMerge = true;
+ this._WashStartMerge = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.WeekTaskReward WeekTaskReward
+ {
+ get
+ {
+ return _WeekTaskReward;
+ }
+ set
+ {
+ __isset.WeekTaskReward = true;
+ this._WeekTaskReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.LevelLauncherData LevelLauncherData
+ {
+ get
+ {
+ return _LevelLauncherData;
+ }
+ set
+ {
+ __isset.LevelLauncherData = true;
+ this._LevelLauncherData = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public global::Byway.Thrift.Data.NickNameRandomData NickNameRandomData
+ {
+ get
+ {
+ return _NickNameRandomData;
+ }
+ set
+ {
+ __isset.NickNameRandomData = true;
+ this._NickNameRandomData = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool AdGiftData;
+ [DataMember]
+ public bool BagItemConfig;
+ [DataMember]
+ public bool BonusValue;
+ [DataMember]
+ public bool CardDetailCfg;
+ [DataMember]
+ public bool CardPackCfg;
+ [DataMember]
+ public bool CardStickerExchangeCfg;
+ [DataMember]
+ public bool CatsGardenMultiplyData;
+ [DataMember]
+ public bool CatsGardenProgressData;
+ [DataMember]
+ public bool CatsGardenSlotData;
+ [DataMember]
+ public bool CatsGardenTempleteData;
+ [DataMember]
+ public bool CatTrickData;
+ [DataMember]
+ public bool ChampshipCfg;
+ [DataMember]
+ public bool ChampshipRankReward;
+ [DataMember]
+ public bool ChampshipScoreReward;
+ [DataMember]
+ public bool ChineseResMap;
+ [DataMember]
+ public bool CollectionRoomReward;
+ [DataMember]
+ public bool CollectionsRewardsData;
+ [DataMember]
+ public bool ComboGift;
+ [DataMember]
+ public bool ComboGiftTwo;
+ [DataMember]
+ public bool DailyTaskActiveCfg;
+ [DataMember]
+ public bool DailyTaskConfig;
+ [DataMember]
+ public bool DailyTaskDetail;
+ [DataMember]
+ public bool DailyTaskReward;
+ [DataMember]
+ public bool DecorateCost;
+ [DataMember]
+ public bool DialogData;
+ [DataMember]
+ public bool EmiterRetreatData;
+ [DataMember]
+ public bool EmojiData;
+ [DataMember]
+ public bool EndlessGift;
+ [DataMember]
+ public bool EnergyLimitGift;
+ [DataMember]
+ public bool FrameData;
+ [DataMember]
+ public bool GrowthFund;
+ [DataMember]
+ public bool GuessReward;
+ [DataMember]
+ public bool GuideData;
+ [DataMember]
+ public bool HandbookReward;
+ [DataMember]
+ public bool HeadData;
+ [DataMember]
+ public bool HowToPlay;
+ [DataMember]
+ public bool IndoorProgress;
+ [DataMember]
+ public bool LanguageData;
+ [DataMember]
+ public bool LevelData;
+ [DataMember]
+ public bool LuckyCatData;
+ [DataMember]
+ public bool LuckyCatProbability;
+ [DataMember]
+ public bool MainCardCollect;
+ [DataMember]
+ public bool MergeData;
+ [DataMember]
+ public bool MileStoneDetail;
+ [DataMember]
+ public bool MileStoneReward;
+ [DataMember]
+ public bool MiningReward;
+ [DataMember]
+ public bool MultiLanguageResource;
+ [DataMember]
+ public bool Music;
+ [DataMember]
+ public bool NetAssetData;
+ [DataMember]
+ public bool NetworkItemData;
+ [DataMember]
+ public bool NewbieDailyTaskCfg;
+ [DataMember]
+ public bool NewbieScoreCfg;
+ [DataMember]
+ public bool NPCFriendsData;
+ [DataMember]
+ public bool PassOne;
+ [DataMember]
+ public bool PetAdWorkGift;
+ [DataMember]
+ public bool PetAirItem;
+ [DataMember]
+ public bool PetCareItem;
+ [DataMember]
+ public bool PetCoinGift;
+ [DataMember]
+ public bool PetDailyTaskCfg;
+ [DataMember]
+ public bool PetDressItem;
+ [DataMember]
+ public bool PetHomeDecorateList;
+ [DataMember]
+ public bool PetPlayJoyItem;
+ [DataMember]
+ public bool PetRoomUnlockCfg;
+ [DataMember]
+ public bool PetShopItem;
+ [DataMember]
+ public bool PlayHomeDecorateCfg;
+ [DataMember]
+ public bool PromotionPack;
+ [DataMember]
+ public bool RaceReward;
+ [DataMember]
+ public bool RankData;
+ [DataMember]
+ public bool RegionData;
+ [DataMember]
+ public bool SceneData;
+ [DataMember]
+ public bool SevenLoginCfg;
+ [DataMember]
+ public bool ShopItem;
+ [DataMember]
+ public bool ShopPack;
+ [DataMember]
+ public bool ShopSpecial;
+ [DataMember]
+ public bool SignInData;
+ [DataMember]
+ public bool Sound;
+ [DataMember]
+ public bool StartMerge;
+ [DataMember]
+ public bool StartOrder;
+ [DataMember]
+ public bool TurnTableCfg;
+ [DataMember]
+ public bool UIForm;
+ [DataMember]
+ public bool WashStartMerge;
+ [DataMember]
+ public bool WeekTaskReward;
+ [DataMember]
+ public bool LevelLauncherData;
+ [DataMember]
+ public bool NickNameRandomData;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeAdGiftData()
+ {
+ return __isset.AdGiftData;
+ }
+
+ public bool ShouldSerializeBagItemConfig()
+ {
+ return __isset.BagItemConfig;
+ }
+
+ public bool ShouldSerializeBonusValue()
+ {
+ return __isset.BonusValue;
+ }
+
+ public bool ShouldSerializeCardDetailCfg()
+ {
+ return __isset.CardDetailCfg;
+ }
+
+ public bool ShouldSerializeCardPackCfg()
+ {
+ return __isset.CardPackCfg;
+ }
+
+ public bool ShouldSerializeCardStickerExchangeCfg()
+ {
+ return __isset.CardStickerExchangeCfg;
+ }
+
+ public bool ShouldSerializeCatsGardenMultiplyData()
+ {
+ return __isset.CatsGardenMultiplyData;
+ }
+
+ public bool ShouldSerializeCatsGardenProgressData()
+ {
+ return __isset.CatsGardenProgressData;
+ }
+
+ public bool ShouldSerializeCatsGardenSlotData()
+ {
+ return __isset.CatsGardenSlotData;
+ }
+
+ public bool ShouldSerializeCatsGardenTempleteData()
+ {
+ return __isset.CatsGardenTempleteData;
+ }
+
+ public bool ShouldSerializeCatTrickData()
+ {
+ return __isset.CatTrickData;
+ }
+
+ public bool ShouldSerializeChampshipCfg()
+ {
+ return __isset.ChampshipCfg;
+ }
+
+ public bool ShouldSerializeChampshipRankReward()
+ {
+ return __isset.ChampshipRankReward;
+ }
+
+ public bool ShouldSerializeChampshipScoreReward()
+ {
+ return __isset.ChampshipScoreReward;
+ }
+
+ public bool ShouldSerializeChineseResMap()
+ {
+ return __isset.ChineseResMap;
+ }
+
+ public bool ShouldSerializeCollectionRoomReward()
+ {
+ return __isset.CollectionRoomReward;
+ }
+
+ public bool ShouldSerializeCollectionsRewardsData()
+ {
+ return __isset.CollectionsRewardsData;
+ }
+
+ public bool ShouldSerializeComboGift()
+ {
+ return __isset.ComboGift;
+ }
+
+ public bool ShouldSerializeComboGiftTwo()
+ {
+ return __isset.ComboGiftTwo;
+ }
+
+ public bool ShouldSerializeDailyTaskActiveCfg()
+ {
+ return __isset.DailyTaskActiveCfg;
+ }
+
+ public bool ShouldSerializeDailyTaskConfig()
+ {
+ return __isset.DailyTaskConfig;
+ }
+
+ public bool ShouldSerializeDailyTaskDetail()
+ {
+ return __isset.DailyTaskDetail;
+ }
+
+ public bool ShouldSerializeDailyTaskReward()
+ {
+ return __isset.DailyTaskReward;
+ }
+
+ public bool ShouldSerializeDecorateCost()
+ {
+ return __isset.DecorateCost;
+ }
+
+ public bool ShouldSerializeDialogData()
+ {
+ return __isset.DialogData;
+ }
+
+ public bool ShouldSerializeEmiterRetreatData()
+ {
+ return __isset.EmiterRetreatData;
+ }
+
+ public bool ShouldSerializeEmojiData()
+ {
+ return __isset.EmojiData;
+ }
+
+ public bool ShouldSerializeEndlessGift()
+ {
+ return __isset.EndlessGift;
+ }
+
+ public bool ShouldSerializeEnergyLimitGift()
+ {
+ return __isset.EnergyLimitGift;
+ }
+
+ public bool ShouldSerializeFrameData()
+ {
+ return __isset.FrameData;
+ }
+
+ public bool ShouldSerializeGrowthFund()
+ {
+ return __isset.GrowthFund;
+ }
+
+ public bool ShouldSerializeGuessReward()
+ {
+ return __isset.GuessReward;
+ }
+
+ public bool ShouldSerializeGuideData()
+ {
+ return __isset.GuideData;
+ }
+
+ public bool ShouldSerializeHandbookReward()
+ {
+ return __isset.HandbookReward;
+ }
+
+ public bool ShouldSerializeHeadData()
+ {
+ return __isset.HeadData;
+ }
+
+ public bool ShouldSerializeHowToPlay()
+ {
+ return __isset.HowToPlay;
+ }
+
+ public bool ShouldSerializeIndoorProgress()
+ {
+ return __isset.IndoorProgress;
+ }
+
+ public bool ShouldSerializeLanguageData()
+ {
+ return __isset.LanguageData;
+ }
+
+ public bool ShouldSerializeLevelData()
+ {
+ return __isset.LevelData;
+ }
+
+ public bool ShouldSerializeLuckyCatData()
+ {
+ return __isset.LuckyCatData;
+ }
+
+ public bool ShouldSerializeLuckyCatProbability()
+ {
+ return __isset.LuckyCatProbability;
+ }
+
+ public bool ShouldSerializeMainCardCollect()
+ {
+ return __isset.MainCardCollect;
+ }
+
+ public bool ShouldSerializeMergeData()
+ {
+ return __isset.MergeData;
+ }
+
+ public bool ShouldSerializeMileStoneDetail()
+ {
+ return __isset.MileStoneDetail;
+ }
+
+ public bool ShouldSerializeMileStoneReward()
+ {
+ return __isset.MileStoneReward;
+ }
+
+ public bool ShouldSerializeMiningReward()
+ {
+ return __isset.MiningReward;
+ }
+
+ public bool ShouldSerializeMultiLanguageResource()
+ {
+ return __isset.MultiLanguageResource;
+ }
+
+ public bool ShouldSerializeMusic()
+ {
+ return __isset.Music;
+ }
+
+ public bool ShouldSerializeNetAssetData()
+ {
+ return __isset.NetAssetData;
+ }
+
+ public bool ShouldSerializeNetworkItemData()
+ {
+ return __isset.NetworkItemData;
+ }
+
+ public bool ShouldSerializeNewbieDailyTaskCfg()
+ {
+ return __isset.NewbieDailyTaskCfg;
+ }
+
+ public bool ShouldSerializeNewbieScoreCfg()
+ {
+ return __isset.NewbieScoreCfg;
+ }
+
+ public bool ShouldSerializeNPCFriendsData()
+ {
+ return __isset.NPCFriendsData;
+ }
+
+ public bool ShouldSerializePassOne()
+ {
+ return __isset.PassOne;
+ }
+
+ public bool ShouldSerializePetAdWorkGift()
+ {
+ return __isset.PetAdWorkGift;
+ }
+
+ public bool ShouldSerializePetAirItem()
+ {
+ return __isset.PetAirItem;
+ }
+
+ public bool ShouldSerializePetCareItem()
+ {
+ return __isset.PetCareItem;
+ }
+
+ public bool ShouldSerializePetCoinGift()
+ {
+ return __isset.PetCoinGift;
+ }
+
+ public bool ShouldSerializePetDailyTaskCfg()
+ {
+ return __isset.PetDailyTaskCfg;
+ }
+
+ public bool ShouldSerializePetDressItem()
+ {
+ return __isset.PetDressItem;
+ }
+
+ public bool ShouldSerializePetHomeDecorateList()
+ {
+ return __isset.PetHomeDecorateList;
+ }
+
+ public bool ShouldSerializePetPlayJoyItem()
+ {
+ return __isset.PetPlayJoyItem;
+ }
+
+ public bool ShouldSerializePetRoomUnlockCfg()
+ {
+ return __isset.PetRoomUnlockCfg;
+ }
+
+ public bool ShouldSerializePetShopItem()
+ {
+ return __isset.PetShopItem;
+ }
+
+ public bool ShouldSerializePlayHomeDecorateCfg()
+ {
+ return __isset.PlayHomeDecorateCfg;
+ }
+
+ public bool ShouldSerializePromotionPack()
+ {
+ return __isset.PromotionPack;
+ }
+
+ public bool ShouldSerializeRaceReward()
+ {
+ return __isset.RaceReward;
+ }
+
+ public bool ShouldSerializeRankData()
+ {
+ return __isset.RankData;
+ }
+
+ public bool ShouldSerializeRegionData()
+ {
+ return __isset.RegionData;
+ }
+
+ public bool ShouldSerializeSceneData()
+ {
+ return __isset.SceneData;
+ }
+
+ public bool ShouldSerializeSevenLoginCfg()
+ {
+ return __isset.SevenLoginCfg;
+ }
+
+ public bool ShouldSerializeShopItem()
+ {
+ return __isset.ShopItem;
+ }
+
+ public bool ShouldSerializeShopPack()
+ {
+ return __isset.ShopPack;
+ }
+
+ public bool ShouldSerializeShopSpecial()
+ {
+ return __isset.ShopSpecial;
+ }
+
+ public bool ShouldSerializeSignInData()
+ {
+ return __isset.SignInData;
+ }
+
+ public bool ShouldSerializeSound()
+ {
+ return __isset.Sound;
+ }
+
+ public bool ShouldSerializeStartMerge()
+ {
+ return __isset.StartMerge;
+ }
+
+ public bool ShouldSerializeStartOrder()
+ {
+ return __isset.StartOrder;
+ }
+
+ public bool ShouldSerializeTurnTableCfg()
+ {
+ return __isset.TurnTableCfg;
+ }
+
+ public bool ShouldSerializeUIForm()
+ {
+ return __isset.UIForm;
+ }
+
+ public bool ShouldSerializeWashStartMerge()
+ {
+ return __isset.WashStartMerge;
+ }
+
+ public bool ShouldSerializeWeekTaskReward()
+ {
+ return __isset.WeekTaskReward;
+ }
+
+ public bool ShouldSerializeLevelLauncherData()
+ {
+ return __isset.LevelLauncherData;
+ }
+
+ public bool ShouldSerializeNickNameRandomData()
+ {
+ return __isset.NickNameRandomData;
+ }
+
+ #endregion XmlSerializer support
+
+ public AllConfigs()
+ {
+ }
+
+ public AllConfigs DeepCopy()
+ {
+ var tmp0 = new AllConfigs();
+ if((AdGiftData != null) && __isset.AdGiftData)
+ {
+ tmp0.AdGiftData = (global::Byway.Thrift.Data.AdGiftData)this.AdGiftData.DeepCopy();
+ }
+ tmp0.__isset.AdGiftData = this.__isset.AdGiftData;
+ if((BagItemConfig != null) && __isset.BagItemConfig)
+ {
+ tmp0.BagItemConfig = (global::Byway.Thrift.Data.BagItemConfig)this.BagItemConfig.DeepCopy();
+ }
+ tmp0.__isset.BagItemConfig = this.__isset.BagItemConfig;
+ if((BonusValue != null) && __isset.BonusValue)
+ {
+ tmp0.BonusValue = (global::Byway.Thrift.Data.BonusValue)this.BonusValue.DeepCopy();
+ }
+ tmp0.__isset.BonusValue = this.__isset.BonusValue;
+ if((CardDetailCfg != null) && __isset.CardDetailCfg)
+ {
+ tmp0.CardDetailCfg = (global::Byway.Thrift.Data.CardDetailCfg)this.CardDetailCfg.DeepCopy();
+ }
+ tmp0.__isset.CardDetailCfg = this.__isset.CardDetailCfg;
+ if((CardPackCfg != null) && __isset.CardPackCfg)
+ {
+ tmp0.CardPackCfg = (global::Byway.Thrift.Data.CardPackCfg)this.CardPackCfg.DeepCopy();
+ }
+ tmp0.__isset.CardPackCfg = this.__isset.CardPackCfg;
+ if((CardStickerExchangeCfg != null) && __isset.CardStickerExchangeCfg)
+ {
+ tmp0.CardStickerExchangeCfg = (global::Byway.Thrift.Data.CardStickerExchangeCfg)this.CardStickerExchangeCfg.DeepCopy();
+ }
+ tmp0.__isset.CardStickerExchangeCfg = this.__isset.CardStickerExchangeCfg;
+ if((CatsGardenMultiplyData != null) && __isset.CatsGardenMultiplyData)
+ {
+ tmp0.CatsGardenMultiplyData = (global::Byway.Thrift.Data.CatsGardenMultiplyData)this.CatsGardenMultiplyData.DeepCopy();
+ }
+ tmp0.__isset.CatsGardenMultiplyData = this.__isset.CatsGardenMultiplyData;
+ if((CatsGardenProgressData != null) && __isset.CatsGardenProgressData)
+ {
+ tmp0.CatsGardenProgressData = (global::Byway.Thrift.Data.CatsGardenProgressData)this.CatsGardenProgressData.DeepCopy();
+ }
+ tmp0.__isset.CatsGardenProgressData = this.__isset.CatsGardenProgressData;
+ if((CatsGardenSlotData != null) && __isset.CatsGardenSlotData)
+ {
+ tmp0.CatsGardenSlotData = (global::Byway.Thrift.Data.CatsGardenSlotData)this.CatsGardenSlotData.DeepCopy();
+ }
+ tmp0.__isset.CatsGardenSlotData = this.__isset.CatsGardenSlotData;
+ if((CatsGardenTempleteData != null) && __isset.CatsGardenTempleteData)
+ {
+ tmp0.CatsGardenTempleteData = (global::Byway.Thrift.Data.CatsGardenTempleteData)this.CatsGardenTempleteData.DeepCopy();
+ }
+ tmp0.__isset.CatsGardenTempleteData = this.__isset.CatsGardenTempleteData;
+ if((CatTrickData != null) && __isset.CatTrickData)
+ {
+ tmp0.CatTrickData = (global::Byway.Thrift.Data.CatTrickData)this.CatTrickData.DeepCopy();
+ }
+ tmp0.__isset.CatTrickData = this.__isset.CatTrickData;
+ if((ChampshipCfg != null) && __isset.ChampshipCfg)
+ {
+ tmp0.ChampshipCfg = (global::Byway.Thrift.Data.ChampshipCfg)this.ChampshipCfg.DeepCopy();
+ }
+ tmp0.__isset.ChampshipCfg = this.__isset.ChampshipCfg;
+ if((ChampshipRankReward != null) && __isset.ChampshipRankReward)
+ {
+ tmp0.ChampshipRankReward = (global::Byway.Thrift.Data.ChampshipRankReward)this.ChampshipRankReward.DeepCopy();
+ }
+ tmp0.__isset.ChampshipRankReward = this.__isset.ChampshipRankReward;
+ if((ChampshipScoreReward != null) && __isset.ChampshipScoreReward)
+ {
+ tmp0.ChampshipScoreReward = (global::Byway.Thrift.Data.ChampshipScoreReward)this.ChampshipScoreReward.DeepCopy();
+ }
+ tmp0.__isset.ChampshipScoreReward = this.__isset.ChampshipScoreReward;
+ if((ChineseResMap != null) && __isset.ChineseResMap)
+ {
+ tmp0.ChineseResMap = (global::Byway.Thrift.Data.ChineseResMap)this.ChineseResMap.DeepCopy();
+ }
+ tmp0.__isset.ChineseResMap = this.__isset.ChineseResMap;
+ if((CollectionRoomReward != null) && __isset.CollectionRoomReward)
+ {
+ tmp0.CollectionRoomReward = (global::Byway.Thrift.Data.CollectionRoomReward)this.CollectionRoomReward.DeepCopy();
+ }
+ tmp0.__isset.CollectionRoomReward = this.__isset.CollectionRoomReward;
+ if((CollectionsRewardsData != null) && __isset.CollectionsRewardsData)
+ {
+ tmp0.CollectionsRewardsData = (global::Byway.Thrift.Data.CollectionsRewardsData)this.CollectionsRewardsData.DeepCopy();
+ }
+ tmp0.__isset.CollectionsRewardsData = this.__isset.CollectionsRewardsData;
+ if((ComboGift != null) && __isset.ComboGift)
+ {
+ tmp0.ComboGift = (global::Byway.Thrift.Data.ComboGift)this.ComboGift.DeepCopy();
+ }
+ tmp0.__isset.ComboGift = this.__isset.ComboGift;
+ if((ComboGiftTwo != null) && __isset.ComboGiftTwo)
+ {
+ tmp0.ComboGiftTwo = (global::Byway.Thrift.Data.ComboGiftTwo)this.ComboGiftTwo.DeepCopy();
+ }
+ tmp0.__isset.ComboGiftTwo = this.__isset.ComboGiftTwo;
+ if((DailyTaskActiveCfg != null) && __isset.DailyTaskActiveCfg)
+ {
+ tmp0.DailyTaskActiveCfg = (global::Byway.Thrift.Data.DailyTaskActiveCfg)this.DailyTaskActiveCfg.DeepCopy();
+ }
+ tmp0.__isset.DailyTaskActiveCfg = this.__isset.DailyTaskActiveCfg;
+ if((DailyTaskConfig != null) && __isset.DailyTaskConfig)
+ {
+ tmp0.DailyTaskConfig = (global::Byway.Thrift.Data.DailyTaskConfig)this.DailyTaskConfig.DeepCopy();
+ }
+ tmp0.__isset.DailyTaskConfig = this.__isset.DailyTaskConfig;
+ if((DailyTaskDetail != null) && __isset.DailyTaskDetail)
+ {
+ tmp0.DailyTaskDetail = (global::Byway.Thrift.Data.DailyTaskDetail)this.DailyTaskDetail.DeepCopy();
+ }
+ tmp0.__isset.DailyTaskDetail = this.__isset.DailyTaskDetail;
+ if((DailyTaskReward != null) && __isset.DailyTaskReward)
+ {
+ tmp0.DailyTaskReward = (global::Byway.Thrift.Data.DailyTaskReward)this.DailyTaskReward.DeepCopy();
+ }
+ tmp0.__isset.DailyTaskReward = this.__isset.DailyTaskReward;
+ if((DecorateCost != null) && __isset.DecorateCost)
+ {
+ tmp0.DecorateCost = (global::Byway.Thrift.Data.DecorateCost)this.DecorateCost.DeepCopy();
+ }
+ tmp0.__isset.DecorateCost = this.__isset.DecorateCost;
+ if((DialogData != null) && __isset.DialogData)
+ {
+ tmp0.DialogData = (global::Byway.Thrift.Data.DialogData)this.DialogData.DeepCopy();
+ }
+ tmp0.__isset.DialogData = this.__isset.DialogData;
+ if((EmiterRetreatData != null) && __isset.EmiterRetreatData)
+ {
+ tmp0.EmiterRetreatData = (global::Byway.Thrift.Data.EmiterRetreatData)this.EmiterRetreatData.DeepCopy();
+ }
+ tmp0.__isset.EmiterRetreatData = this.__isset.EmiterRetreatData;
+ if((EmojiData != null) && __isset.EmojiData)
+ {
+ tmp0.EmojiData = (global::Byway.Thrift.Data.EmojiData)this.EmojiData.DeepCopy();
+ }
+ tmp0.__isset.EmojiData = this.__isset.EmojiData;
+ if((EndlessGift != null) && __isset.EndlessGift)
+ {
+ tmp0.EndlessGift = (global::Byway.Thrift.Data.EndlessGift)this.EndlessGift.DeepCopy();
+ }
+ tmp0.__isset.EndlessGift = this.__isset.EndlessGift;
+ if((EnergyLimitGift != null) && __isset.EnergyLimitGift)
+ {
+ tmp0.EnergyLimitGift = (global::Byway.Thrift.Data.EnergyLimitGift)this.EnergyLimitGift.DeepCopy();
+ }
+ tmp0.__isset.EnergyLimitGift = this.__isset.EnergyLimitGift;
+ if((FrameData != null) && __isset.FrameData)
+ {
+ tmp0.FrameData = (global::Byway.Thrift.Data.FrameData)this.FrameData.DeepCopy();
+ }
+ tmp0.__isset.FrameData = this.__isset.FrameData;
+ if((GrowthFund != null) && __isset.GrowthFund)
+ {
+ tmp0.GrowthFund = (global::Byway.Thrift.Data.GrowthFund)this.GrowthFund.DeepCopy();
+ }
+ tmp0.__isset.GrowthFund = this.__isset.GrowthFund;
+ if((GuessReward != null) && __isset.GuessReward)
+ {
+ tmp0.GuessReward = (global::Byway.Thrift.Data.GuessReward)this.GuessReward.DeepCopy();
+ }
+ tmp0.__isset.GuessReward = this.__isset.GuessReward;
+ if((GuideData != null) && __isset.GuideData)
+ {
+ tmp0.GuideData = (global::Byway.Thrift.Data.GuideData)this.GuideData.DeepCopy();
+ }
+ tmp0.__isset.GuideData = this.__isset.GuideData;
+ if((HandbookReward != null) && __isset.HandbookReward)
+ {
+ tmp0.HandbookReward = (global::Byway.Thrift.Data.HandbookReward)this.HandbookReward.DeepCopy();
+ }
+ tmp0.__isset.HandbookReward = this.__isset.HandbookReward;
+ if((HeadData != null) && __isset.HeadData)
+ {
+ tmp0.HeadData = (global::Byway.Thrift.Data.HeadData)this.HeadData.DeepCopy();
+ }
+ tmp0.__isset.HeadData = this.__isset.HeadData;
+ if((HowToPlay != null) && __isset.HowToPlay)
+ {
+ tmp0.HowToPlay = (global::Byway.Thrift.Data.HowToPlay)this.HowToPlay.DeepCopy();
+ }
+ tmp0.__isset.HowToPlay = this.__isset.HowToPlay;
+ if((IndoorProgress != null) && __isset.IndoorProgress)
+ {
+ tmp0.IndoorProgress = (global::Byway.Thrift.Data.IndoorProgress)this.IndoorProgress.DeepCopy();
+ }
+ tmp0.__isset.IndoorProgress = this.__isset.IndoorProgress;
+ if((LanguageData != null) && __isset.LanguageData)
+ {
+ tmp0.LanguageData = (global::Byway.Thrift.Data.LanguageData)this.LanguageData.DeepCopy();
+ }
+ tmp0.__isset.LanguageData = this.__isset.LanguageData;
+ if((LevelData != null) && __isset.LevelData)
+ {
+ tmp0.LevelData = (global::Byway.Thrift.Data.LevelData)this.LevelData.DeepCopy();
+ }
+ tmp0.__isset.LevelData = this.__isset.LevelData;
+ if((LuckyCatData != null) && __isset.LuckyCatData)
+ {
+ tmp0.LuckyCatData = (global::Byway.Thrift.Data.LuckyCatData)this.LuckyCatData.DeepCopy();
+ }
+ tmp0.__isset.LuckyCatData = this.__isset.LuckyCatData;
+ if((LuckyCatProbability != null) && __isset.LuckyCatProbability)
+ {
+ tmp0.LuckyCatProbability = (global::Byway.Thrift.Data.LuckyCatProbability)this.LuckyCatProbability.DeepCopy();
+ }
+ tmp0.__isset.LuckyCatProbability = this.__isset.LuckyCatProbability;
+ if((MainCardCollect != null) && __isset.MainCardCollect)
+ {
+ tmp0.MainCardCollect = (global::Byway.Thrift.Data.MainCardCollect)this.MainCardCollect.DeepCopy();
+ }
+ tmp0.__isset.MainCardCollect = this.__isset.MainCardCollect;
+ if((MergeData != null) && __isset.MergeData)
+ {
+ tmp0.MergeData = (global::Byway.Thrift.Data.MergeData)this.MergeData.DeepCopy();
+ }
+ tmp0.__isset.MergeData = this.__isset.MergeData;
+ if((MileStoneDetail != null) && __isset.MileStoneDetail)
+ {
+ tmp0.MileStoneDetail = (global::Byway.Thrift.Data.MileStoneDetail)this.MileStoneDetail.DeepCopy();
+ }
+ tmp0.__isset.MileStoneDetail = this.__isset.MileStoneDetail;
+ if((MileStoneReward != null) && __isset.MileStoneReward)
+ {
+ tmp0.MileStoneReward = (global::Byway.Thrift.Data.MileStoneReward)this.MileStoneReward.DeepCopy();
+ }
+ tmp0.__isset.MileStoneReward = this.__isset.MileStoneReward;
+ if((MiningReward != null) && __isset.MiningReward)
+ {
+ tmp0.MiningReward = (global::Byway.Thrift.Data.MiningReward)this.MiningReward.DeepCopy();
+ }
+ tmp0.__isset.MiningReward = this.__isset.MiningReward;
+ if((MultiLanguageResource != null) && __isset.MultiLanguageResource)
+ {
+ tmp0.MultiLanguageResource = (global::Byway.Thrift.Data.MultiLanguageResource)this.MultiLanguageResource.DeepCopy();
+ }
+ tmp0.__isset.MultiLanguageResource = this.__isset.MultiLanguageResource;
+ if((Music != null) && __isset.Music)
+ {
+ tmp0.Music = (global::Byway.Thrift.Data.Music)this.Music.DeepCopy();
+ }
+ tmp0.__isset.Music = this.__isset.Music;
+ if((NetAssetData != null) && __isset.NetAssetData)
+ {
+ tmp0.NetAssetData = (global::Byway.Thrift.Data.NetAssetData)this.NetAssetData.DeepCopy();
+ }
+ tmp0.__isset.NetAssetData = this.__isset.NetAssetData;
+ if((NetworkItemData != null) && __isset.NetworkItemData)
+ {
+ tmp0.NetworkItemData = (global::Byway.Thrift.Data.NetworkItemData)this.NetworkItemData.DeepCopy();
+ }
+ tmp0.__isset.NetworkItemData = this.__isset.NetworkItemData;
+ if((NewbieDailyTaskCfg != null) && __isset.NewbieDailyTaskCfg)
+ {
+ tmp0.NewbieDailyTaskCfg = (global::Byway.Thrift.Data.NewbieDailyTaskCfg)this.NewbieDailyTaskCfg.DeepCopy();
+ }
+ tmp0.__isset.NewbieDailyTaskCfg = this.__isset.NewbieDailyTaskCfg;
+ if((NewbieScoreCfg != null) && __isset.NewbieScoreCfg)
+ {
+ tmp0.NewbieScoreCfg = (global::Byway.Thrift.Data.NewbieScoreCfg)this.NewbieScoreCfg.DeepCopy();
+ }
+ tmp0.__isset.NewbieScoreCfg = this.__isset.NewbieScoreCfg;
+ if((NPCFriendsData != null) && __isset.NPCFriendsData)
+ {
+ tmp0.NPCFriendsData = (global::Byway.Thrift.Data.NPCFriendsData)this.NPCFriendsData.DeepCopy();
+ }
+ tmp0.__isset.NPCFriendsData = this.__isset.NPCFriendsData;
+ if((PassOne != null) && __isset.PassOne)
+ {
+ tmp0.PassOne = (global::Byway.Thrift.Data.PassOne)this.PassOne.DeepCopy();
+ }
+ tmp0.__isset.PassOne = this.__isset.PassOne;
+ if((PetAdWorkGift != null) && __isset.PetAdWorkGift)
+ {
+ tmp0.PetAdWorkGift = (global::Byway.Thrift.Data.PetAdWorkGift)this.PetAdWorkGift.DeepCopy();
+ }
+ tmp0.__isset.PetAdWorkGift = this.__isset.PetAdWorkGift;
+ if((PetAirItem != null) && __isset.PetAirItem)
+ {
+ tmp0.PetAirItem = (global::Byway.Thrift.Data.PetAirItem)this.PetAirItem.DeepCopy();
+ }
+ tmp0.__isset.PetAirItem = this.__isset.PetAirItem;
+ if((PetCareItem != null) && __isset.PetCareItem)
+ {
+ tmp0.PetCareItem = (global::Byway.Thrift.Data.PetCareItem)this.PetCareItem.DeepCopy();
+ }
+ tmp0.__isset.PetCareItem = this.__isset.PetCareItem;
+ if((PetCoinGift != null) && __isset.PetCoinGift)
+ {
+ tmp0.PetCoinGift = (global::Byway.Thrift.Data.PetCoinGift)this.PetCoinGift.DeepCopy();
+ }
+ tmp0.__isset.PetCoinGift = this.__isset.PetCoinGift;
+ if((PetDailyTaskCfg != null) && __isset.PetDailyTaskCfg)
+ {
+ tmp0.PetDailyTaskCfg = (global::Byway.Thrift.Data.PetDailyTaskCfg)this.PetDailyTaskCfg.DeepCopy();
+ }
+ tmp0.__isset.PetDailyTaskCfg = this.__isset.PetDailyTaskCfg;
+ if((PetDressItem != null) && __isset.PetDressItem)
+ {
+ tmp0.PetDressItem = (global::Byway.Thrift.Data.PetDressItem)this.PetDressItem.DeepCopy();
+ }
+ tmp0.__isset.PetDressItem = this.__isset.PetDressItem;
+ if((PetHomeDecorateList != null) && __isset.PetHomeDecorateList)
+ {
+ tmp0.PetHomeDecorateList = (global::Byway.Thrift.Data.PetHomeDecorateList)this.PetHomeDecorateList.DeepCopy();
+ }
+ tmp0.__isset.PetHomeDecorateList = this.__isset.PetHomeDecorateList;
+ if((PetPlayJoyItem != null) && __isset.PetPlayJoyItem)
+ {
+ tmp0.PetPlayJoyItem = (global::Byway.Thrift.Data.PetPlayJoyItem)this.PetPlayJoyItem.DeepCopy();
+ }
+ tmp0.__isset.PetPlayJoyItem = this.__isset.PetPlayJoyItem;
+ if((PetRoomUnlockCfg != null) && __isset.PetRoomUnlockCfg)
+ {
+ tmp0.PetRoomUnlockCfg = (global::Byway.Thrift.Data.PetRoomUnlockCfg)this.PetRoomUnlockCfg.DeepCopy();
+ }
+ tmp0.__isset.PetRoomUnlockCfg = this.__isset.PetRoomUnlockCfg;
+ if((PetShopItem != null) && __isset.PetShopItem)
+ {
+ tmp0.PetShopItem = (global::Byway.Thrift.Data.PetShopItem)this.PetShopItem.DeepCopy();
+ }
+ tmp0.__isset.PetShopItem = this.__isset.PetShopItem;
+ if((PlayHomeDecorateCfg != null) && __isset.PlayHomeDecorateCfg)
+ {
+ tmp0.PlayHomeDecorateCfg = (global::Byway.Thrift.Data.PlayHomeDecorateCfg)this.PlayHomeDecorateCfg.DeepCopy();
+ }
+ tmp0.__isset.PlayHomeDecorateCfg = this.__isset.PlayHomeDecorateCfg;
+ if((PromotionPack != null) && __isset.PromotionPack)
+ {
+ tmp0.PromotionPack = (global::Byway.Thrift.Data.PromotionPack)this.PromotionPack.DeepCopy();
+ }
+ tmp0.__isset.PromotionPack = this.__isset.PromotionPack;
+ if((RaceReward != null) && __isset.RaceReward)
+ {
+ tmp0.RaceReward = (global::Byway.Thrift.Data.RaceReward)this.RaceReward.DeepCopy();
+ }
+ tmp0.__isset.RaceReward = this.__isset.RaceReward;
+ if((RankData != null) && __isset.RankData)
+ {
+ tmp0.RankData = (global::Byway.Thrift.Data.RankData)this.RankData.DeepCopy();
+ }
+ tmp0.__isset.RankData = this.__isset.RankData;
+ if((RegionData != null) && __isset.RegionData)
+ {
+ tmp0.RegionData = (global::Byway.Thrift.Data.RegionData)this.RegionData.DeepCopy();
+ }
+ tmp0.__isset.RegionData = this.__isset.RegionData;
+ if((SceneData != null) && __isset.SceneData)
+ {
+ tmp0.SceneData = (global::Byway.Thrift.Data.SceneData)this.SceneData.DeepCopy();
+ }
+ tmp0.__isset.SceneData = this.__isset.SceneData;
+ if((SevenLoginCfg != null) && __isset.SevenLoginCfg)
+ {
+ tmp0.SevenLoginCfg = (global::Byway.Thrift.Data.SevenLoginCfg)this.SevenLoginCfg.DeepCopy();
+ }
+ tmp0.__isset.SevenLoginCfg = this.__isset.SevenLoginCfg;
+ if((ShopItem != null) && __isset.ShopItem)
+ {
+ tmp0.ShopItem = (global::Byway.Thrift.Data.ShopItem)this.ShopItem.DeepCopy();
+ }
+ tmp0.__isset.ShopItem = this.__isset.ShopItem;
+ if((ShopPack != null) && __isset.ShopPack)
+ {
+ tmp0.ShopPack = (global::Byway.Thrift.Data.ShopPack)this.ShopPack.DeepCopy();
+ }
+ tmp0.__isset.ShopPack = this.__isset.ShopPack;
+ if((ShopSpecial != null) && __isset.ShopSpecial)
+ {
+ tmp0.ShopSpecial = (global::Byway.Thrift.Data.ShopSpecial)this.ShopSpecial.DeepCopy();
+ }
+ tmp0.__isset.ShopSpecial = this.__isset.ShopSpecial;
+ if((SignInData != null) && __isset.SignInData)
+ {
+ tmp0.SignInData = (global::Byway.Thrift.Data.SignInData)this.SignInData.DeepCopy();
+ }
+ tmp0.__isset.SignInData = this.__isset.SignInData;
+ if((Sound != null) && __isset.Sound)
+ {
+ tmp0.Sound = (global::Byway.Thrift.Data.Sound)this.Sound.DeepCopy();
+ }
+ tmp0.__isset.Sound = this.__isset.Sound;
+ if((StartMerge != null) && __isset.StartMerge)
+ {
+ tmp0.StartMerge = (global::Byway.Thrift.Data.StartMerge)this.StartMerge.DeepCopy();
+ }
+ tmp0.__isset.StartMerge = this.__isset.StartMerge;
+ if((StartOrder != null) && __isset.StartOrder)
+ {
+ tmp0.StartOrder = (global::Byway.Thrift.Data.StartOrder)this.StartOrder.DeepCopy();
+ }
+ tmp0.__isset.StartOrder = this.__isset.StartOrder;
+ if((TurnTableCfg != null) && __isset.TurnTableCfg)
+ {
+ tmp0.TurnTableCfg = (global::Byway.Thrift.Data.TurnTableCfg)this.TurnTableCfg.DeepCopy();
+ }
+ tmp0.__isset.TurnTableCfg = this.__isset.TurnTableCfg;
+ if((UIForm != null) && __isset.UIForm)
+ {
+ tmp0.UIForm = (global::Byway.Thrift.Data.UIForm)this.UIForm.DeepCopy();
+ }
+ tmp0.__isset.UIForm = this.__isset.UIForm;
+ if((WashStartMerge != null) && __isset.WashStartMerge)
+ {
+ tmp0.WashStartMerge = (global::Byway.Thrift.Data.WashStartMerge)this.WashStartMerge.DeepCopy();
+ }
+ tmp0.__isset.WashStartMerge = this.__isset.WashStartMerge;
+ if((WeekTaskReward != null) && __isset.WeekTaskReward)
+ {
+ tmp0.WeekTaskReward = (global::Byway.Thrift.Data.WeekTaskReward)this.WeekTaskReward.DeepCopy();
+ }
+ tmp0.__isset.WeekTaskReward = this.__isset.WeekTaskReward;
+ if((LevelLauncherData != null) && __isset.LevelLauncherData)
+ {
+ tmp0.LevelLauncherData = (global::Byway.Thrift.Data.LevelLauncherData)this.LevelLauncherData.DeepCopy();
+ }
+ tmp0.__isset.LevelLauncherData = this.__isset.LevelLauncherData;
+ if((NickNameRandomData != null) && __isset.NickNameRandomData)
+ {
+ tmp0.NickNameRandomData = (global::Byway.Thrift.Data.NickNameRandomData)this.NickNameRandomData.DeepCopy();
+ }
+ tmp0.__isset.NickNameRandomData = this.__isset.NickNameRandomData;
+ 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.Struct)
+ {
+ AdGiftData = new global::Byway.Thrift.Data.AdGiftData();
+ await AdGiftData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 2:
+ if (field.Type == TType.Struct)
+ {
+ BagItemConfig = new global::Byway.Thrift.Data.BagItemConfig();
+ await BagItemConfig.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.Struct)
+ {
+ BonusValue = new global::Byway.Thrift.Data.BonusValue();
+ await BonusValue.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.Struct)
+ {
+ CardDetailCfg = new global::Byway.Thrift.Data.CardDetailCfg();
+ await CardDetailCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.Struct)
+ {
+ CardPackCfg = new global::Byway.Thrift.Data.CardPackCfg();
+ await CardPackCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 6:
+ if (field.Type == TType.Struct)
+ {
+ CardStickerExchangeCfg = new global::Byway.Thrift.Data.CardStickerExchangeCfg();
+ await CardStickerExchangeCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 7:
+ if (field.Type == TType.Struct)
+ {
+ CatsGardenMultiplyData = new global::Byway.Thrift.Data.CatsGardenMultiplyData();
+ await CatsGardenMultiplyData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 8:
+ if (field.Type == TType.Struct)
+ {
+ CatsGardenProgressData = new global::Byway.Thrift.Data.CatsGardenProgressData();
+ await CatsGardenProgressData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 9:
+ if (field.Type == TType.Struct)
+ {
+ CatsGardenSlotData = new global::Byway.Thrift.Data.CatsGardenSlotData();
+ await CatsGardenSlotData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 10:
+ if (field.Type == TType.Struct)
+ {
+ CatsGardenTempleteData = new global::Byway.Thrift.Data.CatsGardenTempleteData();
+ await CatsGardenTempleteData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 11:
+ if (field.Type == TType.Struct)
+ {
+ CatTrickData = new global::Byway.Thrift.Data.CatTrickData();
+ await CatTrickData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 12:
+ if (field.Type == TType.Struct)
+ {
+ ChampshipCfg = new global::Byway.Thrift.Data.ChampshipCfg();
+ await ChampshipCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 13:
+ if (field.Type == TType.Struct)
+ {
+ ChampshipRankReward = new global::Byway.Thrift.Data.ChampshipRankReward();
+ await ChampshipRankReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 14:
+ if (field.Type == TType.Struct)
+ {
+ ChampshipScoreReward = new global::Byway.Thrift.Data.ChampshipScoreReward();
+ await ChampshipScoreReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 15:
+ if (field.Type == TType.Struct)
+ {
+ ChineseResMap = new global::Byway.Thrift.Data.ChineseResMap();
+ await ChineseResMap.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 16:
+ if (field.Type == TType.Struct)
+ {
+ CollectionRoomReward = new global::Byway.Thrift.Data.CollectionRoomReward();
+ await CollectionRoomReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 17:
+ if (field.Type == TType.Struct)
+ {
+ CollectionsRewardsData = new global::Byway.Thrift.Data.CollectionsRewardsData();
+ await CollectionsRewardsData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 18:
+ if (field.Type == TType.Struct)
+ {
+ ComboGift = new global::Byway.Thrift.Data.ComboGift();
+ await ComboGift.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 19:
+ if (field.Type == TType.Struct)
+ {
+ ComboGiftTwo = new global::Byway.Thrift.Data.ComboGiftTwo();
+ await ComboGiftTwo.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 20:
+ if (field.Type == TType.Struct)
+ {
+ DailyTaskActiveCfg = new global::Byway.Thrift.Data.DailyTaskActiveCfg();
+ await DailyTaskActiveCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 21:
+ if (field.Type == TType.Struct)
+ {
+ DailyTaskConfig = new global::Byway.Thrift.Data.DailyTaskConfig();
+ await DailyTaskConfig.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 22:
+ if (field.Type == TType.Struct)
+ {
+ DailyTaskDetail = new global::Byway.Thrift.Data.DailyTaskDetail();
+ await DailyTaskDetail.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 23:
+ if (field.Type == TType.Struct)
+ {
+ DailyTaskReward = new global::Byway.Thrift.Data.DailyTaskReward();
+ await DailyTaskReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 24:
+ if (field.Type == TType.Struct)
+ {
+ DecorateCost = new global::Byway.Thrift.Data.DecorateCost();
+ await DecorateCost.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 25:
+ if (field.Type == TType.Struct)
+ {
+ DialogData = new global::Byway.Thrift.Data.DialogData();
+ await DialogData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 26:
+ if (field.Type == TType.Struct)
+ {
+ EmiterRetreatData = new global::Byway.Thrift.Data.EmiterRetreatData();
+ await EmiterRetreatData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 27:
+ if (field.Type == TType.Struct)
+ {
+ EmojiData = new global::Byway.Thrift.Data.EmojiData();
+ await EmojiData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 28:
+ if (field.Type == TType.Struct)
+ {
+ EndlessGift = new global::Byway.Thrift.Data.EndlessGift();
+ await EndlessGift.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 29:
+ if (field.Type == TType.Struct)
+ {
+ EnergyLimitGift = new global::Byway.Thrift.Data.EnergyLimitGift();
+ await EnergyLimitGift.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 30:
+ if (field.Type == TType.Struct)
+ {
+ FrameData = new global::Byway.Thrift.Data.FrameData();
+ await FrameData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 31:
+ if (field.Type == TType.Struct)
+ {
+ GrowthFund = new global::Byway.Thrift.Data.GrowthFund();
+ await GrowthFund.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 32:
+ if (field.Type == TType.Struct)
+ {
+ GuessReward = new global::Byway.Thrift.Data.GuessReward();
+ await GuessReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 33:
+ if (field.Type == TType.Struct)
+ {
+ GuideData = new global::Byway.Thrift.Data.GuideData();
+ await GuideData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 34:
+ if (field.Type == TType.Struct)
+ {
+ HandbookReward = new global::Byway.Thrift.Data.HandbookReward();
+ await HandbookReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 35:
+ if (field.Type == TType.Struct)
+ {
+ HeadData = new global::Byway.Thrift.Data.HeadData();
+ await HeadData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 36:
+ if (field.Type == TType.Struct)
+ {
+ HowToPlay = new global::Byway.Thrift.Data.HowToPlay();
+ await HowToPlay.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 37:
+ if (field.Type == TType.Struct)
+ {
+ IndoorProgress = new global::Byway.Thrift.Data.IndoorProgress();
+ await IndoorProgress.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 38:
+ if (field.Type == TType.Struct)
+ {
+ LanguageData = new global::Byway.Thrift.Data.LanguageData();
+ await LanguageData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 39:
+ if (field.Type == TType.Struct)
+ {
+ LevelData = new global::Byway.Thrift.Data.LevelData();
+ await LevelData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 40:
+ if (field.Type == TType.Struct)
+ {
+ LuckyCatData = new global::Byway.Thrift.Data.LuckyCatData();
+ await LuckyCatData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 41:
+ if (field.Type == TType.Struct)
+ {
+ LuckyCatProbability = new global::Byway.Thrift.Data.LuckyCatProbability();
+ await LuckyCatProbability.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 42:
+ if (field.Type == TType.Struct)
+ {
+ MainCardCollect = new global::Byway.Thrift.Data.MainCardCollect();
+ await MainCardCollect.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 43:
+ if (field.Type == TType.Struct)
+ {
+ MergeData = new global::Byway.Thrift.Data.MergeData();
+ await MergeData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 44:
+ if (field.Type == TType.Struct)
+ {
+ MileStoneDetail = new global::Byway.Thrift.Data.MileStoneDetail();
+ await MileStoneDetail.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 45:
+ if (field.Type == TType.Struct)
+ {
+ MileStoneReward = new global::Byway.Thrift.Data.MileStoneReward();
+ await MileStoneReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 46:
+ if (field.Type == TType.Struct)
+ {
+ MiningReward = new global::Byway.Thrift.Data.MiningReward();
+ await MiningReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 47:
+ if (field.Type == TType.Struct)
+ {
+ MultiLanguageResource = new global::Byway.Thrift.Data.MultiLanguageResource();
+ await MultiLanguageResource.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 48:
+ if (field.Type == TType.Struct)
+ {
+ Music = new global::Byway.Thrift.Data.Music();
+ await Music.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 49:
+ if (field.Type == TType.Struct)
+ {
+ NetAssetData = new global::Byway.Thrift.Data.NetAssetData();
+ await NetAssetData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 50:
+ if (field.Type == TType.Struct)
+ {
+ NetworkItemData = new global::Byway.Thrift.Data.NetworkItemData();
+ await NetworkItemData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 51:
+ if (field.Type == TType.Struct)
+ {
+ NewbieDailyTaskCfg = new global::Byway.Thrift.Data.NewbieDailyTaskCfg();
+ await NewbieDailyTaskCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 52:
+ if (field.Type == TType.Struct)
+ {
+ NewbieScoreCfg = new global::Byway.Thrift.Data.NewbieScoreCfg();
+ await NewbieScoreCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 53:
+ if (field.Type == TType.Struct)
+ {
+ NPCFriendsData = new global::Byway.Thrift.Data.NPCFriendsData();
+ await NPCFriendsData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 54:
+ if (field.Type == TType.Struct)
+ {
+ PassOne = new global::Byway.Thrift.Data.PassOne();
+ await PassOne.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 55:
+ if (field.Type == TType.Struct)
+ {
+ PetAdWorkGift = new global::Byway.Thrift.Data.PetAdWorkGift();
+ await PetAdWorkGift.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 56:
+ if (field.Type == TType.Struct)
+ {
+ PetAirItem = new global::Byway.Thrift.Data.PetAirItem();
+ await PetAirItem.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 57:
+ if (field.Type == TType.Struct)
+ {
+ PetCareItem = new global::Byway.Thrift.Data.PetCareItem();
+ await PetCareItem.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 58:
+ if (field.Type == TType.Struct)
+ {
+ PetCoinGift = new global::Byway.Thrift.Data.PetCoinGift();
+ await PetCoinGift.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 59:
+ if (field.Type == TType.Struct)
+ {
+ PetDailyTaskCfg = new global::Byway.Thrift.Data.PetDailyTaskCfg();
+ await PetDailyTaskCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 60:
+ if (field.Type == TType.Struct)
+ {
+ PetDressItem = new global::Byway.Thrift.Data.PetDressItem();
+ await PetDressItem.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 61:
+ if (field.Type == TType.Struct)
+ {
+ PetHomeDecorateList = new global::Byway.Thrift.Data.PetHomeDecorateList();
+ await PetHomeDecorateList.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 62:
+ if (field.Type == TType.Struct)
+ {
+ PetPlayJoyItem = new global::Byway.Thrift.Data.PetPlayJoyItem();
+ await PetPlayJoyItem.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 63:
+ if (field.Type == TType.Struct)
+ {
+ PetRoomUnlockCfg = new global::Byway.Thrift.Data.PetRoomUnlockCfg();
+ await PetRoomUnlockCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 64:
+ if (field.Type == TType.Struct)
+ {
+ PetShopItem = new global::Byway.Thrift.Data.PetShopItem();
+ await PetShopItem.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 65:
+ if (field.Type == TType.Struct)
+ {
+ PlayHomeDecorateCfg = new global::Byway.Thrift.Data.PlayHomeDecorateCfg();
+ await PlayHomeDecorateCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 66:
+ if (field.Type == TType.Struct)
+ {
+ PromotionPack = new global::Byway.Thrift.Data.PromotionPack();
+ await PromotionPack.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 67:
+ if (field.Type == TType.Struct)
+ {
+ RaceReward = new global::Byway.Thrift.Data.RaceReward();
+ await RaceReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 68:
+ if (field.Type == TType.Struct)
+ {
+ RankData = new global::Byway.Thrift.Data.RankData();
+ await RankData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 69:
+ if (field.Type == TType.Struct)
+ {
+ RegionData = new global::Byway.Thrift.Data.RegionData();
+ await RegionData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 70:
+ if (field.Type == TType.Struct)
+ {
+ SceneData = new global::Byway.Thrift.Data.SceneData();
+ await SceneData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 71:
+ if (field.Type == TType.Struct)
+ {
+ SevenLoginCfg = new global::Byway.Thrift.Data.SevenLoginCfg();
+ await SevenLoginCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 72:
+ if (field.Type == TType.Struct)
+ {
+ ShopItem = new global::Byway.Thrift.Data.ShopItem();
+ await ShopItem.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 73:
+ if (field.Type == TType.Struct)
+ {
+ ShopPack = new global::Byway.Thrift.Data.ShopPack();
+ await ShopPack.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 74:
+ if (field.Type == TType.Struct)
+ {
+ ShopSpecial = new global::Byway.Thrift.Data.ShopSpecial();
+ await ShopSpecial.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 75:
+ if (field.Type == TType.Struct)
+ {
+ SignInData = new global::Byway.Thrift.Data.SignInData();
+ await SignInData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 76:
+ if (field.Type == TType.Struct)
+ {
+ Sound = new global::Byway.Thrift.Data.Sound();
+ await Sound.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 77:
+ if (field.Type == TType.Struct)
+ {
+ StartMerge = new global::Byway.Thrift.Data.StartMerge();
+ await StartMerge.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 78:
+ if (field.Type == TType.Struct)
+ {
+ StartOrder = new global::Byway.Thrift.Data.StartOrder();
+ await StartOrder.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 79:
+ if (field.Type == TType.Struct)
+ {
+ TurnTableCfg = new global::Byway.Thrift.Data.TurnTableCfg();
+ await TurnTableCfg.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 80:
+ if (field.Type == TType.Struct)
+ {
+ UIForm = new global::Byway.Thrift.Data.UIForm();
+ await UIForm.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 81:
+ if (field.Type == TType.Struct)
+ {
+ WashStartMerge = new global::Byway.Thrift.Data.WashStartMerge();
+ await WashStartMerge.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 82:
+ if (field.Type == TType.Struct)
+ {
+ WeekTaskReward = new global::Byway.Thrift.Data.WeekTaskReward();
+ await WeekTaskReward.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 83:
+ if (field.Type == TType.Struct)
+ {
+ LevelLauncherData = new global::Byway.Thrift.Data.LevelLauncherData();
+ await LevelLauncherData.ReadAsync(iprot, cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 84:
+ if (field.Type == TType.Struct)
+ {
+ NickNameRandomData = new global::Byway.Thrift.Data.NickNameRandomData();
+ await NickNameRandomData.ReadAsync(iprot, 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("AllConfigs");
+ await oprot.WriteStructBeginAsync(tmp1, cancellationToken);
+ var tmp2 = new TField();
+ if((AdGiftData != null) && __isset.AdGiftData)
+ {
+ tmp2.Name = "AdGiftData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await AdGiftData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((BagItemConfig != null) && __isset.BagItemConfig)
+ {
+ tmp2.Name = "BagItemConfig";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await BagItemConfig.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((BonusValue != null) && __isset.BonusValue)
+ {
+ tmp2.Name = "BonusValue";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await BonusValue.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CardDetailCfg != null) && __isset.CardDetailCfg)
+ {
+ tmp2.Name = "CardDetailCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CardDetailCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CardPackCfg != null) && __isset.CardPackCfg)
+ {
+ tmp2.Name = "CardPackCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CardPackCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CardStickerExchangeCfg != null) && __isset.CardStickerExchangeCfg)
+ {
+ tmp2.Name = "CardStickerExchangeCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 6;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CardStickerExchangeCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CatsGardenMultiplyData != null) && __isset.CatsGardenMultiplyData)
+ {
+ tmp2.Name = "CatsGardenMultiplyData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 7;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CatsGardenMultiplyData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CatsGardenProgressData != null) && __isset.CatsGardenProgressData)
+ {
+ tmp2.Name = "CatsGardenProgressData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 8;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CatsGardenProgressData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CatsGardenSlotData != null) && __isset.CatsGardenSlotData)
+ {
+ tmp2.Name = "CatsGardenSlotData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 9;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CatsGardenSlotData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CatsGardenTempleteData != null) && __isset.CatsGardenTempleteData)
+ {
+ tmp2.Name = "CatsGardenTempleteData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 10;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CatsGardenTempleteData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CatTrickData != null) && __isset.CatTrickData)
+ {
+ tmp2.Name = "CatTrickData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 11;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CatTrickData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ChampshipCfg != null) && __isset.ChampshipCfg)
+ {
+ tmp2.Name = "ChampshipCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 12;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ChampshipCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ChampshipRankReward != null) && __isset.ChampshipRankReward)
+ {
+ tmp2.Name = "ChampshipRankReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 13;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ChampshipRankReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ChampshipScoreReward != null) && __isset.ChampshipScoreReward)
+ {
+ tmp2.Name = "ChampshipScoreReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 14;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ChampshipScoreReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ChineseResMap != null) && __isset.ChineseResMap)
+ {
+ tmp2.Name = "ChineseResMap";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 15;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ChineseResMap.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CollectionRoomReward != null) && __isset.CollectionRoomReward)
+ {
+ tmp2.Name = "CollectionRoomReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 16;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CollectionRoomReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((CollectionsRewardsData != null) && __isset.CollectionsRewardsData)
+ {
+ tmp2.Name = "CollectionsRewardsData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 17;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await CollectionsRewardsData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ComboGift != null) && __isset.ComboGift)
+ {
+ tmp2.Name = "ComboGift";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 18;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ComboGift.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ComboGiftTwo != null) && __isset.ComboGiftTwo)
+ {
+ tmp2.Name = "ComboGiftTwo";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 19;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ComboGiftTwo.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((DailyTaskActiveCfg != null) && __isset.DailyTaskActiveCfg)
+ {
+ tmp2.Name = "DailyTaskActiveCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 20;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await DailyTaskActiveCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((DailyTaskConfig != null) && __isset.DailyTaskConfig)
+ {
+ tmp2.Name = "DailyTaskConfig";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 21;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await DailyTaskConfig.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((DailyTaskDetail != null) && __isset.DailyTaskDetail)
+ {
+ tmp2.Name = "DailyTaskDetail";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 22;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await DailyTaskDetail.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((DailyTaskReward != null) && __isset.DailyTaskReward)
+ {
+ tmp2.Name = "DailyTaskReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 23;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await DailyTaskReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((DecorateCost != null) && __isset.DecorateCost)
+ {
+ tmp2.Name = "DecorateCost";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 24;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await DecorateCost.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((DialogData != null) && __isset.DialogData)
+ {
+ tmp2.Name = "DialogData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 25;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await DialogData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((EmiterRetreatData != null) && __isset.EmiterRetreatData)
+ {
+ tmp2.Name = "EmiterRetreatData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 26;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await EmiterRetreatData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((EmojiData != null) && __isset.EmojiData)
+ {
+ tmp2.Name = "EmojiData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 27;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await EmojiData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((EndlessGift != null) && __isset.EndlessGift)
+ {
+ tmp2.Name = "EndlessGift";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 28;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await EndlessGift.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((EnergyLimitGift != null) && __isset.EnergyLimitGift)
+ {
+ tmp2.Name = "EnergyLimitGift";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 29;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await EnergyLimitGift.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((FrameData != null) && __isset.FrameData)
+ {
+ tmp2.Name = "FrameData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 30;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await FrameData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((GrowthFund != null) && __isset.GrowthFund)
+ {
+ tmp2.Name = "GrowthFund";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 31;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await GrowthFund.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((GuessReward != null) && __isset.GuessReward)
+ {
+ tmp2.Name = "GuessReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 32;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await GuessReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((GuideData != null) && __isset.GuideData)
+ {
+ tmp2.Name = "GuideData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 33;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await GuideData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((HandbookReward != null) && __isset.HandbookReward)
+ {
+ tmp2.Name = "HandbookReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 34;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await HandbookReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((HeadData != null) && __isset.HeadData)
+ {
+ tmp2.Name = "HeadData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 35;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await HeadData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((HowToPlay != null) && __isset.HowToPlay)
+ {
+ tmp2.Name = "HowToPlay";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 36;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await HowToPlay.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((IndoorProgress != null) && __isset.IndoorProgress)
+ {
+ tmp2.Name = "IndoorProgress";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 37;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await IndoorProgress.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((LanguageData != null) && __isset.LanguageData)
+ {
+ tmp2.Name = "LanguageData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 38;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await LanguageData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((LevelData != null) && __isset.LevelData)
+ {
+ tmp2.Name = "LevelData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 39;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await LevelData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((LuckyCatData != null) && __isset.LuckyCatData)
+ {
+ tmp2.Name = "LuckyCatData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 40;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await LuckyCatData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((LuckyCatProbability != null) && __isset.LuckyCatProbability)
+ {
+ tmp2.Name = "LuckyCatProbability";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 41;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await LuckyCatProbability.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((MainCardCollect != null) && __isset.MainCardCollect)
+ {
+ tmp2.Name = "MainCardCollect";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 42;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await MainCardCollect.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((MergeData != null) && __isset.MergeData)
+ {
+ tmp2.Name = "MergeData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 43;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await MergeData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((MileStoneDetail != null) && __isset.MileStoneDetail)
+ {
+ tmp2.Name = "MileStoneDetail";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 44;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await MileStoneDetail.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((MileStoneReward != null) && __isset.MileStoneReward)
+ {
+ tmp2.Name = "MileStoneReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 45;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await MileStoneReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((MiningReward != null) && __isset.MiningReward)
+ {
+ tmp2.Name = "MiningReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 46;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await MiningReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((MultiLanguageResource != null) && __isset.MultiLanguageResource)
+ {
+ tmp2.Name = "MultiLanguageResource";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 47;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await MultiLanguageResource.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Music != null) && __isset.Music)
+ {
+ tmp2.Name = "Music";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 48;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await Music.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((NetAssetData != null) && __isset.NetAssetData)
+ {
+ tmp2.Name = "NetAssetData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 49;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await NetAssetData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((NetworkItemData != null) && __isset.NetworkItemData)
+ {
+ tmp2.Name = "NetworkItemData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 50;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await NetworkItemData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((NewbieDailyTaskCfg != null) && __isset.NewbieDailyTaskCfg)
+ {
+ tmp2.Name = "NewbieDailyTaskCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 51;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await NewbieDailyTaskCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((NewbieScoreCfg != null) && __isset.NewbieScoreCfg)
+ {
+ tmp2.Name = "NewbieScoreCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 52;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await NewbieScoreCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((NPCFriendsData != null) && __isset.NPCFriendsData)
+ {
+ tmp2.Name = "NPCFriendsData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 53;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await NPCFriendsData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PassOne != null) && __isset.PassOne)
+ {
+ tmp2.Name = "PassOne";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 54;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PassOne.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetAdWorkGift != null) && __isset.PetAdWorkGift)
+ {
+ tmp2.Name = "PetAdWorkGift";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 55;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetAdWorkGift.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetAirItem != null) && __isset.PetAirItem)
+ {
+ tmp2.Name = "PetAirItem";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 56;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetAirItem.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetCareItem != null) && __isset.PetCareItem)
+ {
+ tmp2.Name = "PetCareItem";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 57;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetCareItem.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetCoinGift != null) && __isset.PetCoinGift)
+ {
+ tmp2.Name = "PetCoinGift";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 58;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetCoinGift.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetDailyTaskCfg != null) && __isset.PetDailyTaskCfg)
+ {
+ tmp2.Name = "PetDailyTaskCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 59;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetDailyTaskCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetDressItem != null) && __isset.PetDressItem)
+ {
+ tmp2.Name = "PetDressItem";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 60;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetDressItem.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetHomeDecorateList != null) && __isset.PetHomeDecorateList)
+ {
+ tmp2.Name = "PetHomeDecorateList";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 61;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetHomeDecorateList.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetPlayJoyItem != null) && __isset.PetPlayJoyItem)
+ {
+ tmp2.Name = "PetPlayJoyItem";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 62;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetPlayJoyItem.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetRoomUnlockCfg != null) && __isset.PetRoomUnlockCfg)
+ {
+ tmp2.Name = "PetRoomUnlockCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 63;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetRoomUnlockCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PetShopItem != null) && __isset.PetShopItem)
+ {
+ tmp2.Name = "PetShopItem";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 64;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PetShopItem.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PlayHomeDecorateCfg != null) && __isset.PlayHomeDecorateCfg)
+ {
+ tmp2.Name = "PlayHomeDecorateCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 65;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PlayHomeDecorateCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((PromotionPack != null) && __isset.PromotionPack)
+ {
+ tmp2.Name = "PromotionPack";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 66;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await PromotionPack.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((RaceReward != null) && __isset.RaceReward)
+ {
+ tmp2.Name = "RaceReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 67;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await RaceReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((RankData != null) && __isset.RankData)
+ {
+ tmp2.Name = "RankData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 68;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await RankData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((RegionData != null) && __isset.RegionData)
+ {
+ tmp2.Name = "RegionData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 69;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await RegionData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((SceneData != null) && __isset.SceneData)
+ {
+ tmp2.Name = "SceneData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 70;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await SceneData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((SevenLoginCfg != null) && __isset.SevenLoginCfg)
+ {
+ tmp2.Name = "SevenLoginCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 71;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await SevenLoginCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ShopItem != null) && __isset.ShopItem)
+ {
+ tmp2.Name = "ShopItem";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 72;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ShopItem.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ShopPack != null) && __isset.ShopPack)
+ {
+ tmp2.Name = "ShopPack";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 73;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ShopPack.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ShopSpecial != null) && __isset.ShopSpecial)
+ {
+ tmp2.Name = "ShopSpecial";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 74;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await ShopSpecial.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((SignInData != null) && __isset.SignInData)
+ {
+ tmp2.Name = "SignInData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 75;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await SignInData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Sound != null) && __isset.Sound)
+ {
+ tmp2.Name = "Sound";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 76;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await Sound.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((StartMerge != null) && __isset.StartMerge)
+ {
+ tmp2.Name = "StartMerge";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 77;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await StartMerge.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((StartOrder != null) && __isset.StartOrder)
+ {
+ tmp2.Name = "StartOrder";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 78;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await StartOrder.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((TurnTableCfg != null) && __isset.TurnTableCfg)
+ {
+ tmp2.Name = "TurnTableCfg";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 79;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await TurnTableCfg.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((UIForm != null) && __isset.UIForm)
+ {
+ tmp2.Name = "UIForm";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 80;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await UIForm.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((WashStartMerge != null) && __isset.WashStartMerge)
+ {
+ tmp2.Name = "WashStartMerge";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 81;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await WashStartMerge.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((WeekTaskReward != null) && __isset.WeekTaskReward)
+ {
+ tmp2.Name = "WeekTaskReward";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 82;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await WeekTaskReward.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((LevelLauncherData != null) && __isset.LevelLauncherData)
+ {
+ tmp2.Name = "LevelLauncherData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 83;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await LevelLauncherData.WriteAsync(oprot, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((NickNameRandomData != null) && __isset.NickNameRandomData)
+ {
+ tmp2.Name = "NickNameRandomData";
+ tmp2.Type = TType.Struct;
+ tmp2.ID = 84;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await NickNameRandomData.WriteAsync(oprot, 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 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))))
+ && ((__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))))
+ && ((__isset.CardPackCfg == other.__isset.CardPackCfg) && ((!__isset.CardPackCfg) || (global::System.Object.Equals(CardPackCfg, other.CardPackCfg))))
+ && ((__isset.CardStickerExchangeCfg == other.__isset.CardStickerExchangeCfg) && ((!__isset.CardStickerExchangeCfg) || (global::System.Object.Equals(CardStickerExchangeCfg, other.CardStickerExchangeCfg))))
+ && ((__isset.CatsGardenMultiplyData == other.__isset.CatsGardenMultiplyData) && ((!__isset.CatsGardenMultiplyData) || (global::System.Object.Equals(CatsGardenMultiplyData, other.CatsGardenMultiplyData))))
+ && ((__isset.CatsGardenProgressData == other.__isset.CatsGardenProgressData) && ((!__isset.CatsGardenProgressData) || (global::System.Object.Equals(CatsGardenProgressData, other.CatsGardenProgressData))))
+ && ((__isset.CatsGardenSlotData == other.__isset.CatsGardenSlotData) && ((!__isset.CatsGardenSlotData) || (global::System.Object.Equals(CatsGardenSlotData, other.CatsGardenSlotData))))
+ && ((__isset.CatsGardenTempleteData == other.__isset.CatsGardenTempleteData) && ((!__isset.CatsGardenTempleteData) || (global::System.Object.Equals(CatsGardenTempleteData, other.CatsGardenTempleteData))))
+ && ((__isset.CatTrickData == other.__isset.CatTrickData) && ((!__isset.CatTrickData) || (global::System.Object.Equals(CatTrickData, other.CatTrickData))))
+ && ((__isset.ChampshipCfg == other.__isset.ChampshipCfg) && ((!__isset.ChampshipCfg) || (global::System.Object.Equals(ChampshipCfg, other.ChampshipCfg))))
+ && ((__isset.ChampshipRankReward == other.__isset.ChampshipRankReward) && ((!__isset.ChampshipRankReward) || (global::System.Object.Equals(ChampshipRankReward, other.ChampshipRankReward))))
+ && ((__isset.ChampshipScoreReward == other.__isset.ChampshipScoreReward) && ((!__isset.ChampshipScoreReward) || (global::System.Object.Equals(ChampshipScoreReward, other.ChampshipScoreReward))))
+ && ((__isset.ChineseResMap == other.__isset.ChineseResMap) && ((!__isset.ChineseResMap) || (global::System.Object.Equals(ChineseResMap, other.ChineseResMap))))
+ && ((__isset.CollectionRoomReward == other.__isset.CollectionRoomReward) && ((!__isset.CollectionRoomReward) || (global::System.Object.Equals(CollectionRoomReward, other.CollectionRoomReward))))
+ && ((__isset.CollectionsRewardsData == other.__isset.CollectionsRewardsData) && ((!__isset.CollectionsRewardsData) || (global::System.Object.Equals(CollectionsRewardsData, other.CollectionsRewardsData))))
+ && ((__isset.ComboGift == other.__isset.ComboGift) && ((!__isset.ComboGift) || (global::System.Object.Equals(ComboGift, other.ComboGift))))
+ && ((__isset.ComboGiftTwo == other.__isset.ComboGiftTwo) && ((!__isset.ComboGiftTwo) || (global::System.Object.Equals(ComboGiftTwo, other.ComboGiftTwo))))
+ && ((__isset.DailyTaskActiveCfg == other.__isset.DailyTaskActiveCfg) && ((!__isset.DailyTaskActiveCfg) || (global::System.Object.Equals(DailyTaskActiveCfg, other.DailyTaskActiveCfg))))
+ && ((__isset.DailyTaskConfig == other.__isset.DailyTaskConfig) && ((!__isset.DailyTaskConfig) || (global::System.Object.Equals(DailyTaskConfig, other.DailyTaskConfig))))
+ && ((__isset.DailyTaskDetail == other.__isset.DailyTaskDetail) && ((!__isset.DailyTaskDetail) || (global::System.Object.Equals(DailyTaskDetail, other.DailyTaskDetail))))
+ && ((__isset.DailyTaskReward == other.__isset.DailyTaskReward) && ((!__isset.DailyTaskReward) || (global::System.Object.Equals(DailyTaskReward, other.DailyTaskReward))))
+ && ((__isset.DecorateCost == other.__isset.DecorateCost) && ((!__isset.DecorateCost) || (global::System.Object.Equals(DecorateCost, other.DecorateCost))))
+ && ((__isset.DialogData == other.__isset.DialogData) && ((!__isset.DialogData) || (global::System.Object.Equals(DialogData, other.DialogData))))
+ && ((__isset.EmiterRetreatData == other.__isset.EmiterRetreatData) && ((!__isset.EmiterRetreatData) || (global::System.Object.Equals(EmiterRetreatData, other.EmiterRetreatData))))
+ && ((__isset.EmojiData == other.__isset.EmojiData) && ((!__isset.EmojiData) || (global::System.Object.Equals(EmojiData, other.EmojiData))))
+ && ((__isset.EndlessGift == other.__isset.EndlessGift) && ((!__isset.EndlessGift) || (global::System.Object.Equals(EndlessGift, other.EndlessGift))))
+ && ((__isset.EnergyLimitGift == other.__isset.EnergyLimitGift) && ((!__isset.EnergyLimitGift) || (global::System.Object.Equals(EnergyLimitGift, other.EnergyLimitGift))))
+ && ((__isset.FrameData == other.__isset.FrameData) && ((!__isset.FrameData) || (global::System.Object.Equals(FrameData, other.FrameData))))
+ && ((__isset.GrowthFund == other.__isset.GrowthFund) && ((!__isset.GrowthFund) || (global::System.Object.Equals(GrowthFund, other.GrowthFund))))
+ && ((__isset.GuessReward == other.__isset.GuessReward) && ((!__isset.GuessReward) || (global::System.Object.Equals(GuessReward, other.GuessReward))))
+ && ((__isset.GuideData == other.__isset.GuideData) && ((!__isset.GuideData) || (global::System.Object.Equals(GuideData, other.GuideData))))
+ && ((__isset.HandbookReward == other.__isset.HandbookReward) && ((!__isset.HandbookReward) || (global::System.Object.Equals(HandbookReward, other.HandbookReward))))
+ && ((__isset.HeadData == other.__isset.HeadData) && ((!__isset.HeadData) || (global::System.Object.Equals(HeadData, other.HeadData))))
+ && ((__isset.HowToPlay == other.__isset.HowToPlay) && ((!__isset.HowToPlay) || (global::System.Object.Equals(HowToPlay, other.HowToPlay))))
+ && ((__isset.IndoorProgress == other.__isset.IndoorProgress) && ((!__isset.IndoorProgress) || (global::System.Object.Equals(IndoorProgress, other.IndoorProgress))))
+ && ((__isset.LanguageData == other.__isset.LanguageData) && ((!__isset.LanguageData) || (global::System.Object.Equals(LanguageData, other.LanguageData))))
+ && ((__isset.LevelData == other.__isset.LevelData) && ((!__isset.LevelData) || (global::System.Object.Equals(LevelData, other.LevelData))))
+ && ((__isset.LuckyCatData == other.__isset.LuckyCatData) && ((!__isset.LuckyCatData) || (global::System.Object.Equals(LuckyCatData, other.LuckyCatData))))
+ && ((__isset.LuckyCatProbability == other.__isset.LuckyCatProbability) && ((!__isset.LuckyCatProbability) || (global::System.Object.Equals(LuckyCatProbability, other.LuckyCatProbability))))
+ && ((__isset.MainCardCollect == other.__isset.MainCardCollect) && ((!__isset.MainCardCollect) || (global::System.Object.Equals(MainCardCollect, other.MainCardCollect))))
+ && ((__isset.MergeData == other.__isset.MergeData) && ((!__isset.MergeData) || (global::System.Object.Equals(MergeData, other.MergeData))))
+ && ((__isset.MileStoneDetail == other.__isset.MileStoneDetail) && ((!__isset.MileStoneDetail) || (global::System.Object.Equals(MileStoneDetail, other.MileStoneDetail))))
+ && ((__isset.MileStoneReward == other.__isset.MileStoneReward) && ((!__isset.MileStoneReward) || (global::System.Object.Equals(MileStoneReward, other.MileStoneReward))))
+ && ((__isset.MiningReward == other.__isset.MiningReward) && ((!__isset.MiningReward) || (global::System.Object.Equals(MiningReward, other.MiningReward))))
+ && ((__isset.MultiLanguageResource == other.__isset.MultiLanguageResource) && ((!__isset.MultiLanguageResource) || (global::System.Object.Equals(MultiLanguageResource, other.MultiLanguageResource))))
+ && ((__isset.Music == other.__isset.Music) && ((!__isset.Music) || (global::System.Object.Equals(Music, other.Music))))
+ && ((__isset.NetAssetData == other.__isset.NetAssetData) && ((!__isset.NetAssetData) || (global::System.Object.Equals(NetAssetData, other.NetAssetData))))
+ && ((__isset.NetworkItemData == other.__isset.NetworkItemData) && ((!__isset.NetworkItemData) || (global::System.Object.Equals(NetworkItemData, other.NetworkItemData))))
+ && ((__isset.NewbieDailyTaskCfg == other.__isset.NewbieDailyTaskCfg) && ((!__isset.NewbieDailyTaskCfg) || (global::System.Object.Equals(NewbieDailyTaskCfg, other.NewbieDailyTaskCfg))))
+ && ((__isset.NewbieScoreCfg == other.__isset.NewbieScoreCfg) && ((!__isset.NewbieScoreCfg) || (global::System.Object.Equals(NewbieScoreCfg, other.NewbieScoreCfg))))
+ && ((__isset.NPCFriendsData == other.__isset.NPCFriendsData) && ((!__isset.NPCFriendsData) || (global::System.Object.Equals(NPCFriendsData, other.NPCFriendsData))))
+ && ((__isset.PassOne == other.__isset.PassOne) && ((!__isset.PassOne) || (global::System.Object.Equals(PassOne, other.PassOne))))
+ && ((__isset.PetAdWorkGift == other.__isset.PetAdWorkGift) && ((!__isset.PetAdWorkGift) || (global::System.Object.Equals(PetAdWorkGift, other.PetAdWorkGift))))
+ && ((__isset.PetAirItem == other.__isset.PetAirItem) && ((!__isset.PetAirItem) || (global::System.Object.Equals(PetAirItem, other.PetAirItem))))
+ && ((__isset.PetCareItem == other.__isset.PetCareItem) && ((!__isset.PetCareItem) || (global::System.Object.Equals(PetCareItem, other.PetCareItem))))
+ && ((__isset.PetCoinGift == other.__isset.PetCoinGift) && ((!__isset.PetCoinGift) || (global::System.Object.Equals(PetCoinGift, other.PetCoinGift))))
+ && ((__isset.PetDailyTaskCfg == other.__isset.PetDailyTaskCfg) && ((!__isset.PetDailyTaskCfg) || (global::System.Object.Equals(PetDailyTaskCfg, other.PetDailyTaskCfg))))
+ && ((__isset.PetDressItem == other.__isset.PetDressItem) && ((!__isset.PetDressItem) || (global::System.Object.Equals(PetDressItem, other.PetDressItem))))
+ && ((__isset.PetHomeDecorateList == other.__isset.PetHomeDecorateList) && ((!__isset.PetHomeDecorateList) || (global::System.Object.Equals(PetHomeDecorateList, other.PetHomeDecorateList))))
+ && ((__isset.PetPlayJoyItem == other.__isset.PetPlayJoyItem) && ((!__isset.PetPlayJoyItem) || (global::System.Object.Equals(PetPlayJoyItem, other.PetPlayJoyItem))))
+ && ((__isset.PetRoomUnlockCfg == other.__isset.PetRoomUnlockCfg) && ((!__isset.PetRoomUnlockCfg) || (global::System.Object.Equals(PetRoomUnlockCfg, other.PetRoomUnlockCfg))))
+ && ((__isset.PetShopItem == other.__isset.PetShopItem) && ((!__isset.PetShopItem) || (global::System.Object.Equals(PetShopItem, other.PetShopItem))))
+ && ((__isset.PlayHomeDecorateCfg == other.__isset.PlayHomeDecorateCfg) && ((!__isset.PlayHomeDecorateCfg) || (global::System.Object.Equals(PlayHomeDecorateCfg, other.PlayHomeDecorateCfg))))
+ && ((__isset.PromotionPack == other.__isset.PromotionPack) && ((!__isset.PromotionPack) || (global::System.Object.Equals(PromotionPack, other.PromotionPack))))
+ && ((__isset.RaceReward == other.__isset.RaceReward) && ((!__isset.RaceReward) || (global::System.Object.Equals(RaceReward, other.RaceReward))))
+ && ((__isset.RankData == other.__isset.RankData) && ((!__isset.RankData) || (global::System.Object.Equals(RankData, other.RankData))))
+ && ((__isset.RegionData == other.__isset.RegionData) && ((!__isset.RegionData) || (global::System.Object.Equals(RegionData, other.RegionData))))
+ && ((__isset.SceneData == other.__isset.SceneData) && ((!__isset.SceneData) || (global::System.Object.Equals(SceneData, other.SceneData))))
+ && ((__isset.SevenLoginCfg == other.__isset.SevenLoginCfg) && ((!__isset.SevenLoginCfg) || (global::System.Object.Equals(SevenLoginCfg, other.SevenLoginCfg))))
+ && ((__isset.ShopItem == other.__isset.ShopItem) && ((!__isset.ShopItem) || (global::System.Object.Equals(ShopItem, other.ShopItem))))
+ && ((__isset.ShopPack == other.__isset.ShopPack) && ((!__isset.ShopPack) || (global::System.Object.Equals(ShopPack, other.ShopPack))))
+ && ((__isset.ShopSpecial == other.__isset.ShopSpecial) && ((!__isset.ShopSpecial) || (global::System.Object.Equals(ShopSpecial, other.ShopSpecial))))
+ && ((__isset.SignInData == other.__isset.SignInData) && ((!__isset.SignInData) || (global::System.Object.Equals(SignInData, other.SignInData))))
+ && ((__isset.Sound == other.__isset.Sound) && ((!__isset.Sound) || (global::System.Object.Equals(Sound, other.Sound))))
+ && ((__isset.StartMerge == other.__isset.StartMerge) && ((!__isset.StartMerge) || (global::System.Object.Equals(StartMerge, other.StartMerge))))
+ && ((__isset.StartOrder == other.__isset.StartOrder) && ((!__isset.StartOrder) || (global::System.Object.Equals(StartOrder, other.StartOrder))))
+ && ((__isset.TurnTableCfg == other.__isset.TurnTableCfg) && ((!__isset.TurnTableCfg) || (global::System.Object.Equals(TurnTableCfg, other.TurnTableCfg))))
+ && ((__isset.UIForm == other.__isset.UIForm) && ((!__isset.UIForm) || (global::System.Object.Equals(UIForm, other.UIForm))))
+ && ((__isset.WashStartMerge == other.__isset.WashStartMerge) && ((!__isset.WashStartMerge) || (global::System.Object.Equals(WashStartMerge, other.WashStartMerge))))
+ && ((__isset.WeekTaskReward == other.__isset.WeekTaskReward) && ((!__isset.WeekTaskReward) || (global::System.Object.Equals(WeekTaskReward, other.WeekTaskReward))))
+ && ((__isset.LevelLauncherData == other.__isset.LevelLauncherData) && ((!__isset.LevelLauncherData) || (global::System.Object.Equals(LevelLauncherData, other.LevelLauncherData))))
+ && ((__isset.NickNameRandomData == other.__isset.NickNameRandomData) && ((!__isset.NickNameRandomData) || (global::System.Object.Equals(NickNameRandomData, other.NickNameRandomData))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((AdGiftData != null) && __isset.AdGiftData)
+ {
+ hashcode = (hashcode * 397) + AdGiftData.GetHashCode();
+ }
+ if((BagItemConfig != null) && __isset.BagItemConfig)
+ {
+ hashcode = (hashcode * 397) + BagItemConfig.GetHashCode();
+ }
+ if((BonusValue != null) && __isset.BonusValue)
+ {
+ hashcode = (hashcode * 397) + BonusValue.GetHashCode();
+ }
+ if((CardDetailCfg != null) && __isset.CardDetailCfg)
+ {
+ hashcode = (hashcode * 397) + CardDetailCfg.GetHashCode();
+ }
+ if((CardPackCfg != null) && __isset.CardPackCfg)
+ {
+ hashcode = (hashcode * 397) + CardPackCfg.GetHashCode();
+ }
+ if((CardStickerExchangeCfg != null) && __isset.CardStickerExchangeCfg)
+ {
+ hashcode = (hashcode * 397) + CardStickerExchangeCfg.GetHashCode();
+ }
+ if((CatsGardenMultiplyData != null) && __isset.CatsGardenMultiplyData)
+ {
+ hashcode = (hashcode * 397) + CatsGardenMultiplyData.GetHashCode();
+ }
+ if((CatsGardenProgressData != null) && __isset.CatsGardenProgressData)
+ {
+ hashcode = (hashcode * 397) + CatsGardenProgressData.GetHashCode();
+ }
+ if((CatsGardenSlotData != null) && __isset.CatsGardenSlotData)
+ {
+ hashcode = (hashcode * 397) + CatsGardenSlotData.GetHashCode();
+ }
+ if((CatsGardenTempleteData != null) && __isset.CatsGardenTempleteData)
+ {
+ hashcode = (hashcode * 397) + CatsGardenTempleteData.GetHashCode();
+ }
+ if((CatTrickData != null) && __isset.CatTrickData)
+ {
+ hashcode = (hashcode * 397) + CatTrickData.GetHashCode();
+ }
+ if((ChampshipCfg != null) && __isset.ChampshipCfg)
+ {
+ hashcode = (hashcode * 397) + ChampshipCfg.GetHashCode();
+ }
+ if((ChampshipRankReward != null) && __isset.ChampshipRankReward)
+ {
+ hashcode = (hashcode * 397) + ChampshipRankReward.GetHashCode();
+ }
+ if((ChampshipScoreReward != null) && __isset.ChampshipScoreReward)
+ {
+ hashcode = (hashcode * 397) + ChampshipScoreReward.GetHashCode();
+ }
+ if((ChineseResMap != null) && __isset.ChineseResMap)
+ {
+ hashcode = (hashcode * 397) + ChineseResMap.GetHashCode();
+ }
+ if((CollectionRoomReward != null) && __isset.CollectionRoomReward)
+ {
+ hashcode = (hashcode * 397) + CollectionRoomReward.GetHashCode();
+ }
+ if((CollectionsRewardsData != null) && __isset.CollectionsRewardsData)
+ {
+ hashcode = (hashcode * 397) + CollectionsRewardsData.GetHashCode();
+ }
+ if((ComboGift != null) && __isset.ComboGift)
+ {
+ hashcode = (hashcode * 397) + ComboGift.GetHashCode();
+ }
+ if((ComboGiftTwo != null) && __isset.ComboGiftTwo)
+ {
+ hashcode = (hashcode * 397) + ComboGiftTwo.GetHashCode();
+ }
+ if((DailyTaskActiveCfg != null) && __isset.DailyTaskActiveCfg)
+ {
+ hashcode = (hashcode * 397) + DailyTaskActiveCfg.GetHashCode();
+ }
+ if((DailyTaskConfig != null) && __isset.DailyTaskConfig)
+ {
+ hashcode = (hashcode * 397) + DailyTaskConfig.GetHashCode();
+ }
+ if((DailyTaskDetail != null) && __isset.DailyTaskDetail)
+ {
+ hashcode = (hashcode * 397) + DailyTaskDetail.GetHashCode();
+ }
+ if((DailyTaskReward != null) && __isset.DailyTaskReward)
+ {
+ hashcode = (hashcode * 397) + DailyTaskReward.GetHashCode();
+ }
+ if((DecorateCost != null) && __isset.DecorateCost)
+ {
+ hashcode = (hashcode * 397) + DecorateCost.GetHashCode();
+ }
+ if((DialogData != null) && __isset.DialogData)
+ {
+ hashcode = (hashcode * 397) + DialogData.GetHashCode();
+ }
+ if((EmiterRetreatData != null) && __isset.EmiterRetreatData)
+ {
+ hashcode = (hashcode * 397) + EmiterRetreatData.GetHashCode();
+ }
+ if((EmojiData != null) && __isset.EmojiData)
+ {
+ hashcode = (hashcode * 397) + EmojiData.GetHashCode();
+ }
+ if((EndlessGift != null) && __isset.EndlessGift)
+ {
+ hashcode = (hashcode * 397) + EndlessGift.GetHashCode();
+ }
+ if((EnergyLimitGift != null) && __isset.EnergyLimitGift)
+ {
+ hashcode = (hashcode * 397) + EnergyLimitGift.GetHashCode();
+ }
+ if((FrameData != null) && __isset.FrameData)
+ {
+ hashcode = (hashcode * 397) + FrameData.GetHashCode();
+ }
+ if((GrowthFund != null) && __isset.GrowthFund)
+ {
+ hashcode = (hashcode * 397) + GrowthFund.GetHashCode();
+ }
+ if((GuessReward != null) && __isset.GuessReward)
+ {
+ hashcode = (hashcode * 397) + GuessReward.GetHashCode();
+ }
+ if((GuideData != null) && __isset.GuideData)
+ {
+ hashcode = (hashcode * 397) + GuideData.GetHashCode();
+ }
+ if((HandbookReward != null) && __isset.HandbookReward)
+ {
+ hashcode = (hashcode * 397) + HandbookReward.GetHashCode();
+ }
+ if((HeadData != null) && __isset.HeadData)
+ {
+ hashcode = (hashcode * 397) + HeadData.GetHashCode();
+ }
+ if((HowToPlay != null) && __isset.HowToPlay)
+ {
+ hashcode = (hashcode * 397) + HowToPlay.GetHashCode();
+ }
+ if((IndoorProgress != null) && __isset.IndoorProgress)
+ {
+ hashcode = (hashcode * 397) + IndoorProgress.GetHashCode();
+ }
+ if((LanguageData != null) && __isset.LanguageData)
+ {
+ hashcode = (hashcode * 397) + LanguageData.GetHashCode();
+ }
+ if((LevelData != null) && __isset.LevelData)
+ {
+ hashcode = (hashcode * 397) + LevelData.GetHashCode();
+ }
+ if((LuckyCatData != null) && __isset.LuckyCatData)
+ {
+ hashcode = (hashcode * 397) + LuckyCatData.GetHashCode();
+ }
+ if((LuckyCatProbability != null) && __isset.LuckyCatProbability)
+ {
+ hashcode = (hashcode * 397) + LuckyCatProbability.GetHashCode();
+ }
+ if((MainCardCollect != null) && __isset.MainCardCollect)
+ {
+ hashcode = (hashcode * 397) + MainCardCollect.GetHashCode();
+ }
+ if((MergeData != null) && __isset.MergeData)
+ {
+ hashcode = (hashcode * 397) + MergeData.GetHashCode();
+ }
+ if((MileStoneDetail != null) && __isset.MileStoneDetail)
+ {
+ hashcode = (hashcode * 397) + MileStoneDetail.GetHashCode();
+ }
+ if((MileStoneReward != null) && __isset.MileStoneReward)
+ {
+ hashcode = (hashcode * 397) + MileStoneReward.GetHashCode();
+ }
+ if((MiningReward != null) && __isset.MiningReward)
+ {
+ hashcode = (hashcode * 397) + MiningReward.GetHashCode();
+ }
+ if((MultiLanguageResource != null) && __isset.MultiLanguageResource)
+ {
+ hashcode = (hashcode * 397) + MultiLanguageResource.GetHashCode();
+ }
+ if((Music != null) && __isset.Music)
+ {
+ hashcode = (hashcode * 397) + Music.GetHashCode();
+ }
+ if((NetAssetData != null) && __isset.NetAssetData)
+ {
+ hashcode = (hashcode * 397) + NetAssetData.GetHashCode();
+ }
+ if((NetworkItemData != null) && __isset.NetworkItemData)
+ {
+ hashcode = (hashcode * 397) + NetworkItemData.GetHashCode();
+ }
+ if((NewbieDailyTaskCfg != null) && __isset.NewbieDailyTaskCfg)
+ {
+ hashcode = (hashcode * 397) + NewbieDailyTaskCfg.GetHashCode();
+ }
+ if((NewbieScoreCfg != null) && __isset.NewbieScoreCfg)
+ {
+ hashcode = (hashcode * 397) + NewbieScoreCfg.GetHashCode();
+ }
+ if((NPCFriendsData != null) && __isset.NPCFriendsData)
+ {
+ hashcode = (hashcode * 397) + NPCFriendsData.GetHashCode();
+ }
+ if((PassOne != null) && __isset.PassOne)
+ {
+ hashcode = (hashcode * 397) + PassOne.GetHashCode();
+ }
+ if((PetAdWorkGift != null) && __isset.PetAdWorkGift)
+ {
+ hashcode = (hashcode * 397) + PetAdWorkGift.GetHashCode();
+ }
+ if((PetAirItem != null) && __isset.PetAirItem)
+ {
+ hashcode = (hashcode * 397) + PetAirItem.GetHashCode();
+ }
+ if((PetCareItem != null) && __isset.PetCareItem)
+ {
+ hashcode = (hashcode * 397) + PetCareItem.GetHashCode();
+ }
+ if((PetCoinGift != null) && __isset.PetCoinGift)
+ {
+ hashcode = (hashcode * 397) + PetCoinGift.GetHashCode();
+ }
+ if((PetDailyTaskCfg != null) && __isset.PetDailyTaskCfg)
+ {
+ hashcode = (hashcode * 397) + PetDailyTaskCfg.GetHashCode();
+ }
+ if((PetDressItem != null) && __isset.PetDressItem)
+ {
+ hashcode = (hashcode * 397) + PetDressItem.GetHashCode();
+ }
+ if((PetHomeDecorateList != null) && __isset.PetHomeDecorateList)
+ {
+ hashcode = (hashcode * 397) + PetHomeDecorateList.GetHashCode();
+ }
+ if((PetPlayJoyItem != null) && __isset.PetPlayJoyItem)
+ {
+ hashcode = (hashcode * 397) + PetPlayJoyItem.GetHashCode();
+ }
+ if((PetRoomUnlockCfg != null) && __isset.PetRoomUnlockCfg)
+ {
+ hashcode = (hashcode * 397) + PetRoomUnlockCfg.GetHashCode();
+ }
+ if((PetShopItem != null) && __isset.PetShopItem)
+ {
+ hashcode = (hashcode * 397) + PetShopItem.GetHashCode();
+ }
+ if((PlayHomeDecorateCfg != null) && __isset.PlayHomeDecorateCfg)
+ {
+ hashcode = (hashcode * 397) + PlayHomeDecorateCfg.GetHashCode();
+ }
+ if((PromotionPack != null) && __isset.PromotionPack)
+ {
+ hashcode = (hashcode * 397) + PromotionPack.GetHashCode();
+ }
+ if((RaceReward != null) && __isset.RaceReward)
+ {
+ hashcode = (hashcode * 397) + RaceReward.GetHashCode();
+ }
+ if((RankData != null) && __isset.RankData)
+ {
+ hashcode = (hashcode * 397) + RankData.GetHashCode();
+ }
+ if((RegionData != null) && __isset.RegionData)
+ {
+ hashcode = (hashcode * 397) + RegionData.GetHashCode();
+ }
+ if((SceneData != null) && __isset.SceneData)
+ {
+ hashcode = (hashcode * 397) + SceneData.GetHashCode();
+ }
+ if((SevenLoginCfg != null) && __isset.SevenLoginCfg)
+ {
+ hashcode = (hashcode * 397) + SevenLoginCfg.GetHashCode();
+ }
+ if((ShopItem != null) && __isset.ShopItem)
+ {
+ hashcode = (hashcode * 397) + ShopItem.GetHashCode();
+ }
+ if((ShopPack != null) && __isset.ShopPack)
+ {
+ hashcode = (hashcode * 397) + ShopPack.GetHashCode();
+ }
+ if((ShopSpecial != null) && __isset.ShopSpecial)
+ {
+ hashcode = (hashcode * 397) + ShopSpecial.GetHashCode();
+ }
+ if((SignInData != null) && __isset.SignInData)
+ {
+ hashcode = (hashcode * 397) + SignInData.GetHashCode();
+ }
+ if((Sound != null) && __isset.Sound)
+ {
+ hashcode = (hashcode * 397) + Sound.GetHashCode();
+ }
+ if((StartMerge != null) && __isset.StartMerge)
+ {
+ hashcode = (hashcode * 397) + StartMerge.GetHashCode();
+ }
+ if((StartOrder != null) && __isset.StartOrder)
+ {
+ hashcode = (hashcode * 397) + StartOrder.GetHashCode();
+ }
+ if((TurnTableCfg != null) && __isset.TurnTableCfg)
+ {
+ hashcode = (hashcode * 397) + TurnTableCfg.GetHashCode();
+ }
+ if((UIForm != null) && __isset.UIForm)
+ {
+ hashcode = (hashcode * 397) + UIForm.GetHashCode();
+ }
+ if((WashStartMerge != null) && __isset.WashStartMerge)
+ {
+ hashcode = (hashcode * 397) + WashStartMerge.GetHashCode();
+ }
+ if((WeekTaskReward != null) && __isset.WeekTaskReward)
+ {
+ hashcode = (hashcode * 397) + WeekTaskReward.GetHashCode();
+ }
+ if((LevelLauncherData != null) && __isset.LevelLauncherData)
+ {
+ hashcode = (hashcode * 397) + LevelLauncherData.GetHashCode();
+ }
+ if((NickNameRandomData != null) && __isset.NickNameRandomData)
+ {
+ hashcode = (hashcode * 397) + NickNameRandomData.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("AllConfigs(");
+ int tmp4 = 0;
+ if((AdGiftData != null) && __isset.AdGiftData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("AdGiftData: ");
+ AdGiftData.ToString(tmp3);
+ }
+ if((BagItemConfig != null) && __isset.BagItemConfig)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("BagItemConfig: ");
+ BagItemConfig.ToString(tmp3);
+ }
+ if((BonusValue != null) && __isset.BonusValue)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("BonusValue: ");
+ BonusValue.ToString(tmp3);
+ }
+ if((CardDetailCfg != null) && __isset.CardDetailCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CardDetailCfg: ");
+ CardDetailCfg.ToString(tmp3);
+ }
+ if((CardPackCfg != null) && __isset.CardPackCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CardPackCfg: ");
+ CardPackCfg.ToString(tmp3);
+ }
+ if((CardStickerExchangeCfg != null) && __isset.CardStickerExchangeCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CardStickerExchangeCfg: ");
+ CardStickerExchangeCfg.ToString(tmp3);
+ }
+ if((CatsGardenMultiplyData != null) && __isset.CatsGardenMultiplyData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CatsGardenMultiplyData: ");
+ CatsGardenMultiplyData.ToString(tmp3);
+ }
+ if((CatsGardenProgressData != null) && __isset.CatsGardenProgressData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CatsGardenProgressData: ");
+ CatsGardenProgressData.ToString(tmp3);
+ }
+ if((CatsGardenSlotData != null) && __isset.CatsGardenSlotData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CatsGardenSlotData: ");
+ CatsGardenSlotData.ToString(tmp3);
+ }
+ if((CatsGardenTempleteData != null) && __isset.CatsGardenTempleteData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CatsGardenTempleteData: ");
+ CatsGardenTempleteData.ToString(tmp3);
+ }
+ if((CatTrickData != null) && __isset.CatTrickData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CatTrickData: ");
+ CatTrickData.ToString(tmp3);
+ }
+ if((ChampshipCfg != null) && __isset.ChampshipCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ChampshipCfg: ");
+ ChampshipCfg.ToString(tmp3);
+ }
+ if((ChampshipRankReward != null) && __isset.ChampshipRankReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ChampshipRankReward: ");
+ ChampshipRankReward.ToString(tmp3);
+ }
+ if((ChampshipScoreReward != null) && __isset.ChampshipScoreReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ChampshipScoreReward: ");
+ ChampshipScoreReward.ToString(tmp3);
+ }
+ if((ChineseResMap != null) && __isset.ChineseResMap)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ChineseResMap: ");
+ ChineseResMap.ToString(tmp3);
+ }
+ if((CollectionRoomReward != null) && __isset.CollectionRoomReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CollectionRoomReward: ");
+ CollectionRoomReward.ToString(tmp3);
+ }
+ if((CollectionsRewardsData != null) && __isset.CollectionsRewardsData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("CollectionsRewardsData: ");
+ CollectionsRewardsData.ToString(tmp3);
+ }
+ if((ComboGift != null) && __isset.ComboGift)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ComboGift: ");
+ ComboGift.ToString(tmp3);
+ }
+ if((ComboGiftTwo != null) && __isset.ComboGiftTwo)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ComboGiftTwo: ");
+ ComboGiftTwo.ToString(tmp3);
+ }
+ if((DailyTaskActiveCfg != null) && __isset.DailyTaskActiveCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("DailyTaskActiveCfg: ");
+ DailyTaskActiveCfg.ToString(tmp3);
+ }
+ if((DailyTaskConfig != null) && __isset.DailyTaskConfig)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("DailyTaskConfig: ");
+ DailyTaskConfig.ToString(tmp3);
+ }
+ if((DailyTaskDetail != null) && __isset.DailyTaskDetail)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("DailyTaskDetail: ");
+ DailyTaskDetail.ToString(tmp3);
+ }
+ if((DailyTaskReward != null) && __isset.DailyTaskReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("DailyTaskReward: ");
+ DailyTaskReward.ToString(tmp3);
+ }
+ if((DecorateCost != null) && __isset.DecorateCost)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("DecorateCost: ");
+ DecorateCost.ToString(tmp3);
+ }
+ if((DialogData != null) && __isset.DialogData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("DialogData: ");
+ DialogData.ToString(tmp3);
+ }
+ if((EmiterRetreatData != null) && __isset.EmiterRetreatData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("EmiterRetreatData: ");
+ EmiterRetreatData.ToString(tmp3);
+ }
+ if((EmojiData != null) && __isset.EmojiData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("EmojiData: ");
+ EmojiData.ToString(tmp3);
+ }
+ if((EndlessGift != null) && __isset.EndlessGift)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("EndlessGift: ");
+ EndlessGift.ToString(tmp3);
+ }
+ if((EnergyLimitGift != null) && __isset.EnergyLimitGift)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("EnergyLimitGift: ");
+ EnergyLimitGift.ToString(tmp3);
+ }
+ if((FrameData != null) && __isset.FrameData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("FrameData: ");
+ FrameData.ToString(tmp3);
+ }
+ if((GrowthFund != null) && __isset.GrowthFund)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("GrowthFund: ");
+ GrowthFund.ToString(tmp3);
+ }
+ if((GuessReward != null) && __isset.GuessReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("GuessReward: ");
+ GuessReward.ToString(tmp3);
+ }
+ if((GuideData != null) && __isset.GuideData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("GuideData: ");
+ GuideData.ToString(tmp3);
+ }
+ if((HandbookReward != null) && __isset.HandbookReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("HandbookReward: ");
+ HandbookReward.ToString(tmp3);
+ }
+ if((HeadData != null) && __isset.HeadData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("HeadData: ");
+ HeadData.ToString(tmp3);
+ }
+ if((HowToPlay != null) && __isset.HowToPlay)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("HowToPlay: ");
+ HowToPlay.ToString(tmp3);
+ }
+ if((IndoorProgress != null) && __isset.IndoorProgress)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("IndoorProgress: ");
+ IndoorProgress.ToString(tmp3);
+ }
+ if((LanguageData != null) && __isset.LanguageData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("LanguageData: ");
+ LanguageData.ToString(tmp3);
+ }
+ if((LevelData != null) && __isset.LevelData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("LevelData: ");
+ LevelData.ToString(tmp3);
+ }
+ if((LuckyCatData != null) && __isset.LuckyCatData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("LuckyCatData: ");
+ LuckyCatData.ToString(tmp3);
+ }
+ if((LuckyCatProbability != null) && __isset.LuckyCatProbability)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("LuckyCatProbability: ");
+ LuckyCatProbability.ToString(tmp3);
+ }
+ if((MainCardCollect != null) && __isset.MainCardCollect)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("MainCardCollect: ");
+ MainCardCollect.ToString(tmp3);
+ }
+ if((MergeData != null) && __isset.MergeData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("MergeData: ");
+ MergeData.ToString(tmp3);
+ }
+ if((MileStoneDetail != null) && __isset.MileStoneDetail)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("MileStoneDetail: ");
+ MileStoneDetail.ToString(tmp3);
+ }
+ if((MileStoneReward != null) && __isset.MileStoneReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("MileStoneReward: ");
+ MileStoneReward.ToString(tmp3);
+ }
+ if((MiningReward != null) && __isset.MiningReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("MiningReward: ");
+ MiningReward.ToString(tmp3);
+ }
+ if((MultiLanguageResource != null) && __isset.MultiLanguageResource)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("MultiLanguageResource: ");
+ MultiLanguageResource.ToString(tmp3);
+ }
+ if((Music != null) && __isset.Music)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Music: ");
+ Music.ToString(tmp3);
+ }
+ if((NetAssetData != null) && __isset.NetAssetData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NetAssetData: ");
+ NetAssetData.ToString(tmp3);
+ }
+ if((NetworkItemData != null) && __isset.NetworkItemData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NetworkItemData: ");
+ NetworkItemData.ToString(tmp3);
+ }
+ if((NewbieDailyTaskCfg != null) && __isset.NewbieDailyTaskCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NewbieDailyTaskCfg: ");
+ NewbieDailyTaskCfg.ToString(tmp3);
+ }
+ if((NewbieScoreCfg != null) && __isset.NewbieScoreCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NewbieScoreCfg: ");
+ NewbieScoreCfg.ToString(tmp3);
+ }
+ if((NPCFriendsData != null) && __isset.NPCFriendsData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NPCFriendsData: ");
+ NPCFriendsData.ToString(tmp3);
+ }
+ if((PassOne != null) && __isset.PassOne)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PassOne: ");
+ PassOne.ToString(tmp3);
+ }
+ if((PetAdWorkGift != null) && __isset.PetAdWorkGift)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetAdWorkGift: ");
+ PetAdWorkGift.ToString(tmp3);
+ }
+ if((PetAirItem != null) && __isset.PetAirItem)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetAirItem: ");
+ PetAirItem.ToString(tmp3);
+ }
+ if((PetCareItem != null) && __isset.PetCareItem)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetCareItem: ");
+ PetCareItem.ToString(tmp3);
+ }
+ if((PetCoinGift != null) && __isset.PetCoinGift)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetCoinGift: ");
+ PetCoinGift.ToString(tmp3);
+ }
+ if((PetDailyTaskCfg != null) && __isset.PetDailyTaskCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetDailyTaskCfg: ");
+ PetDailyTaskCfg.ToString(tmp3);
+ }
+ if((PetDressItem != null) && __isset.PetDressItem)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetDressItem: ");
+ PetDressItem.ToString(tmp3);
+ }
+ if((PetHomeDecorateList != null) && __isset.PetHomeDecorateList)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetHomeDecorateList: ");
+ PetHomeDecorateList.ToString(tmp3);
+ }
+ if((PetPlayJoyItem != null) && __isset.PetPlayJoyItem)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetPlayJoyItem: ");
+ PetPlayJoyItem.ToString(tmp3);
+ }
+ if((PetRoomUnlockCfg != null) && __isset.PetRoomUnlockCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetRoomUnlockCfg: ");
+ PetRoomUnlockCfg.ToString(tmp3);
+ }
+ if((PetShopItem != null) && __isset.PetShopItem)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PetShopItem: ");
+ PetShopItem.ToString(tmp3);
+ }
+ if((PlayHomeDecorateCfg != null) && __isset.PlayHomeDecorateCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PlayHomeDecorateCfg: ");
+ PlayHomeDecorateCfg.ToString(tmp3);
+ }
+ if((PromotionPack != null) && __isset.PromotionPack)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PromotionPack: ");
+ PromotionPack.ToString(tmp3);
+ }
+ if((RaceReward != null) && __isset.RaceReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("RaceReward: ");
+ RaceReward.ToString(tmp3);
+ }
+ if((RankData != null) && __isset.RankData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("RankData: ");
+ RankData.ToString(tmp3);
+ }
+ if((RegionData != null) && __isset.RegionData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("RegionData: ");
+ RegionData.ToString(tmp3);
+ }
+ if((SceneData != null) && __isset.SceneData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("SceneData: ");
+ SceneData.ToString(tmp3);
+ }
+ if((SevenLoginCfg != null) && __isset.SevenLoginCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("SevenLoginCfg: ");
+ SevenLoginCfg.ToString(tmp3);
+ }
+ if((ShopItem != null) && __isset.ShopItem)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ShopItem: ");
+ ShopItem.ToString(tmp3);
+ }
+ if((ShopPack != null) && __isset.ShopPack)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ShopPack: ");
+ ShopPack.ToString(tmp3);
+ }
+ if((ShopSpecial != null) && __isset.ShopSpecial)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ShopSpecial: ");
+ ShopSpecial.ToString(tmp3);
+ }
+ if((SignInData != null) && __isset.SignInData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("SignInData: ");
+ SignInData.ToString(tmp3);
+ }
+ if((Sound != null) && __isset.Sound)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Sound: ");
+ Sound.ToString(tmp3);
+ }
+ if((StartMerge != null) && __isset.StartMerge)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("StartMerge: ");
+ StartMerge.ToString(tmp3);
+ }
+ if((StartOrder != null) && __isset.StartOrder)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("StartOrder: ");
+ StartOrder.ToString(tmp3);
+ }
+ if((TurnTableCfg != null) && __isset.TurnTableCfg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("TurnTableCfg: ");
+ TurnTableCfg.ToString(tmp3);
+ }
+ if((UIForm != null) && __isset.UIForm)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("UIForm: ");
+ UIForm.ToString(tmp3);
+ }
+ if((WashStartMerge != null) && __isset.WashStartMerge)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("WashStartMerge: ");
+ WashStartMerge.ToString(tmp3);
+ }
+ if((WeekTaskReward != null) && __isset.WeekTaskReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("WeekTaskReward: ");
+ WeekTaskReward.ToString(tmp3);
+ }
+ if((LevelLauncherData != null) && __isset.LevelLauncherData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("LevelLauncherData: ");
+ LevelLauncherData.ToString(tmp3);
+ }
+ if((NickNameRandomData != null) && __isset.NickNameRandomData)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NickNameRandomData: ");
+ NickNameRandomData.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs.meta
new file mode 100644
index 0000000..5143c0a
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/AllConfigs.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 94f1d56b60ba2d54ea31255ded9658f7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.Extensions.cs
new file mode 100644
index 0000000..f0cf67e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.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 BagItemConfigExtensions
+ {
+ 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/BagItemConfig.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.Extensions.cs.meta
new file mode 100644
index 0000000..22bf0e0
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b236d6dfa3d67b94089b8ed85a70134f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.cs
new file mode 100644
index 0000000..5f7f29e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.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 BagItemConfig : TBase
+ {
+ private Dictionary _bagitemconfigs;
+
+ [DataMember(Order = 0)]
+ public Dictionary Bagitemconfigs
+ {
+ get
+ {
+ return _bagitemconfigs;
+ }
+ set
+ {
+ __isset.@bagitemconfigs = true;
+ this._bagitemconfigs = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @bagitemconfigs;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeBagitemconfigs()
+ {
+ return __isset.@bagitemconfigs;
+ }
+
+ #endregion XmlSerializer support
+
+ public BagItemConfig()
+ {
+ }
+
+ public BagItemConfig DeepCopy()
+ {
+ var tmp5 = new BagItemConfig();
+ if((Bagitemconfigs != null) && __isset.@bagitemconfigs)
+ {
+ tmp5.Bagitemconfigs = this.Bagitemconfigs.DeepCopy();
+ }
+ tmp5.__isset.@bagitemconfigs = this.__isset.@bagitemconfigs;
+ 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);
+ Bagitemconfigs = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.BagItemConfigItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.BagItemConfigItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Bagitemconfigs[_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("BagItemConfig");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Bagitemconfigs != null) && __isset.@bagitemconfigs)
+ {
+ tmp11.Name = "bagitemconfigs";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Bagitemconfigs.Count), cancellationToken);
+ foreach (int _iter12 in Bagitemconfigs.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Bagitemconfigs[_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 BagItemConfig other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@bagitemconfigs == other.__isset.@bagitemconfigs) && ((!__isset.@bagitemconfigs) || (TCollections.Equals(Bagitemconfigs, other.Bagitemconfigs))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Bagitemconfigs != null) && __isset.@bagitemconfigs)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Bagitemconfigs);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("BagItemConfig(");
+ int tmp14 = 0;
+ if((Bagitemconfigs != null) && __isset.@bagitemconfigs)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Bagitemconfigs: ");
+ Bagitemconfigs.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.cs.meta
new file mode 100644
index 0000000..50b15a9
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfig.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: cae548fcaebbbdb448fbe318fd6354ee
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfigItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfigItem.cs
new file mode 100644
index 0000000..217dbad
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfigItem.cs
@@ -0,0 +1,366 @@
+/**
+ *
+ * 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 BagItemConfigItem : TBase
+ {
+ private int _Id;
+ private int _ItemId;
+ private string _Icon;
+ private int _TrueId;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int ItemId
+ {
+ get
+ {
+ return _ItemId;
+ }
+ set
+ {
+ __isset.ItemId = true;
+ this._ItemId = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Icon
+ {
+ get
+ {
+ return _Icon;
+ }
+ set
+ {
+ __isset.Icon = true;
+ this._Icon = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int TrueId
+ {
+ get
+ {
+ return _TrueId;
+ }
+ set
+ {
+ __isset.TrueId = true;
+ this._TrueId = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool ItemId;
+ [DataMember]
+ public bool Icon;
+ [DataMember]
+ public bool TrueId;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeItemId()
+ {
+ return __isset.ItemId;
+ }
+
+ public bool ShouldSerializeIcon()
+ {
+ return __isset.Icon;
+ }
+
+ public bool ShouldSerializeTrueId()
+ {
+ return __isset.TrueId;
+ }
+
+ #endregion XmlSerializer support
+
+ public BagItemConfigItem()
+ {
+ }
+
+ public BagItemConfigItem DeepCopy()
+ {
+ var tmp0 = new BagItemConfigItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.ItemId)
+ {
+ tmp0.ItemId = this.ItemId;
+ }
+ tmp0.__isset.ItemId = this.__isset.ItemId;
+ if((Icon != null) && __isset.Icon)
+ {
+ tmp0.Icon = this.Icon;
+ }
+ tmp0.__isset.Icon = this.__isset.Icon;
+ if(__isset.TrueId)
+ {
+ tmp0.TrueId = this.TrueId;
+ }
+ tmp0.__isset.TrueId = this.__isset.TrueId;
+ 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)
+ {
+ ItemId = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ Icon = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.I32)
+ {
+ TrueId = await iprot.ReadI32Async(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("BagItemConfigItem");
+ 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.ItemId)
+ {
+ tmp2.Name = "ItemId";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(ItemId, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ tmp2.Name = "Icon";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Icon, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.TrueId)
+ {
+ tmp2.Name = "TrueId";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(TrueId, 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 BagItemConfigItem 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.ItemId == other.__isset.ItemId) && ((!__isset.ItemId) || (global::System.Object.Equals(ItemId, other.ItemId))))
+ && ((__isset.Icon == other.__isset.Icon) && ((!__isset.Icon) || (global::System.Object.Equals(Icon, other.Icon))))
+ && ((__isset.TrueId == other.__isset.TrueId) && ((!__isset.TrueId) || (global::System.Object.Equals(TrueId, other.TrueId))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.ItemId)
+ {
+ hashcode = (hashcode * 397) + ItemId.GetHashCode();
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ hashcode = (hashcode * 397) + Icon.GetHashCode();
+ }
+ if(__isset.TrueId)
+ {
+ hashcode = (hashcode * 397) + TrueId.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("BagItemConfigItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.ItemId)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemId: ");
+ ItemId.ToString(tmp3);
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Icon: ");
+ Icon.ToString(tmp3);
+ }
+ if(__isset.TrueId)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("TrueId: ");
+ TrueId.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfigItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfigItem.cs.meta
new file mode 100644
index 0000000..91f9dfb
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BagItemConfigItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 92e276c80cc262949a2c9ec9ffb9c1de
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.Extensions.cs
new file mode 100644
index 0000000..3c3fe51
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.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 BonusValueExtensions
+ {
+ 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/BonusValue.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.Extensions.cs.meta
new file mode 100644
index 0000000..b3ceaec
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d32b498bac9ae5b499bd8c275b2f5dc6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.cs
new file mode 100644
index 0000000..c041852
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.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 BonusValue : TBase
+ {
+ private Dictionary _bonusvalues;
+
+ [DataMember(Order = 0)]
+ public Dictionary Bonusvalues
+ {
+ get
+ {
+ return _bonusvalues;
+ }
+ set
+ {
+ __isset.@bonusvalues = true;
+ this._bonusvalues = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @bonusvalues;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeBonusvalues()
+ {
+ return __isset.@bonusvalues;
+ }
+
+ #endregion XmlSerializer support
+
+ public BonusValue()
+ {
+ }
+
+ public BonusValue DeepCopy()
+ {
+ var tmp5 = new BonusValue();
+ if((Bonusvalues != null) && __isset.@bonusvalues)
+ {
+ tmp5.Bonusvalues = this.Bonusvalues.DeepCopy();
+ }
+ tmp5.__isset.@bonusvalues = this.__isset.@bonusvalues;
+ 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);
+ Bonusvalues = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.BonusValueItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.BonusValueItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Bonusvalues[_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("BonusValue");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Bonusvalues != null) && __isset.@bonusvalues)
+ {
+ tmp11.Name = "bonusvalues";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Bonusvalues.Count), cancellationToken);
+ foreach (int _iter12 in Bonusvalues.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Bonusvalues[_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 BonusValue other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@bonusvalues == other.__isset.@bonusvalues) && ((!__isset.@bonusvalues) || (TCollections.Equals(Bonusvalues, other.Bonusvalues))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Bonusvalues != null) && __isset.@bonusvalues)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Bonusvalues);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("BonusValue(");
+ int tmp14 = 0;
+ if((Bonusvalues != null) && __isset.@bonusvalues)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Bonusvalues: ");
+ Bonusvalues.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.cs.meta
new file mode 100644
index 0000000..ad5c089
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValue.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e1484cf5d69c5234bae81add023f3b35
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValueItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValueItem.cs
new file mode 100644
index 0000000..aa7930f
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValueItem.cs
@@ -0,0 +1,480 @@
+/**
+ *
+ * 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 BonusValueItem : TBase
+ {
+ private int _Id;
+ private string _Type;
+ private int _SortId;
+ private double _Price;
+ private string _Reward;
+ private double _OldPrice;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Type
+ {
+ get
+ {
+ return _Type;
+ }
+ set
+ {
+ __isset.Type = true;
+ this._Type = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int SortId
+ {
+ get
+ {
+ return _SortId;
+ }
+ set
+ {
+ __isset.SortId = true;
+ this._SortId = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public double Price
+ {
+ get
+ {
+ return _Price;
+ }
+ set
+ {
+ __isset.Price = true;
+ this._Price = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Reward
+ {
+ get
+ {
+ return _Reward;
+ }
+ set
+ {
+ __isset.Reward = true;
+ this._Reward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public double OldPrice
+ {
+ get
+ {
+ return _OldPrice;
+ }
+ set
+ {
+ __isset.OldPrice = true;
+ this._OldPrice = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Type;
+ [DataMember]
+ public bool SortId;
+ [DataMember]
+ public bool Price;
+ [DataMember]
+ public bool Reward;
+ [DataMember]
+ public bool OldPrice;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeType()
+ {
+ return __isset.Type;
+ }
+
+ public bool ShouldSerializeSortId()
+ {
+ return __isset.SortId;
+ }
+
+ public bool ShouldSerializePrice()
+ {
+ return __isset.Price;
+ }
+
+ public bool ShouldSerializeReward()
+ {
+ return __isset.Reward;
+ }
+
+ public bool ShouldSerializeOldPrice()
+ {
+ return __isset.OldPrice;
+ }
+
+ #endregion XmlSerializer support
+
+ public BonusValueItem()
+ {
+ }
+
+ public BonusValueItem DeepCopy()
+ {
+ var tmp0 = new BonusValueItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if((Type != null) && __isset.Type)
+ {
+ tmp0.Type = this.Type;
+ }
+ tmp0.__isset.Type = this.__isset.Type;
+ if(__isset.SortId)
+ {
+ tmp0.SortId = this.SortId;
+ }
+ tmp0.__isset.SortId = this.__isset.SortId;
+ if(__isset.Price)
+ {
+ tmp0.Price = this.Price;
+ }
+ tmp0.__isset.Price = this.__isset.Price;
+ if((Reward != null) && __isset.Reward)
+ {
+ tmp0.Reward = this.Reward;
+ }
+ tmp0.__isset.Reward = this.__isset.Reward;
+ if(__isset.OldPrice)
+ {
+ tmp0.OldPrice = this.OldPrice;
+ }
+ tmp0.__isset.OldPrice = this.__isset.OldPrice;
+ 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.String)
+ {
+ Type = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ SortId = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.Double)
+ {
+ Price = await iprot.ReadDoubleAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.String)
+ {
+ Reward = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 6:
+ if (field.Type == TType.Double)
+ {
+ OldPrice = await iprot.ReadDoubleAsync(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("BonusValueItem");
+ 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((Type != null) && __isset.Type)
+ {
+ tmp2.Name = "Type";
+ tmp2.Type = TType.String;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Type, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.SortId)
+ {
+ tmp2.Name = "SortId";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(SortId, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Price)
+ {
+ tmp2.Name = "Price";
+ tmp2.Type = TType.Double;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteDoubleAsync(Price, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Reward != null) && __isset.Reward)
+ {
+ tmp2.Name = "Reward";
+ tmp2.Type = TType.String;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Reward, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.OldPrice)
+ {
+ tmp2.Name = "OldPrice";
+ tmp2.Type = TType.Double;
+ tmp2.ID = 6;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteDoubleAsync(OldPrice, 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 BonusValueItem 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.Type == other.__isset.Type) && ((!__isset.Type) || (global::System.Object.Equals(Type, other.Type))))
+ && ((__isset.SortId == other.__isset.SortId) && ((!__isset.SortId) || (global::System.Object.Equals(SortId, other.SortId))))
+ && ((__isset.Price == other.__isset.Price) && ((!__isset.Price) || (global::System.Object.Equals(Price, other.Price))))
+ && ((__isset.Reward == other.__isset.Reward) && ((!__isset.Reward) || (global::System.Object.Equals(Reward, other.Reward))))
+ && ((__isset.OldPrice == other.__isset.OldPrice) && ((!__isset.OldPrice) || (global::System.Object.Equals(OldPrice, other.OldPrice))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if((Type != null) && __isset.Type)
+ {
+ hashcode = (hashcode * 397) + Type.GetHashCode();
+ }
+ if(__isset.SortId)
+ {
+ hashcode = (hashcode * 397) + SortId.GetHashCode();
+ }
+ if(__isset.Price)
+ {
+ hashcode = (hashcode * 397) + Price.GetHashCode();
+ }
+ if((Reward != null) && __isset.Reward)
+ {
+ hashcode = (hashcode * 397) + Reward.GetHashCode();
+ }
+ if(__isset.OldPrice)
+ {
+ hashcode = (hashcode * 397) + OldPrice.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("BonusValueItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if((Type != null) && __isset.Type)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Type: ");
+ Type.ToString(tmp3);
+ }
+ if(__isset.SortId)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("SortId: ");
+ SortId.ToString(tmp3);
+ }
+ if(__isset.Price)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Price: ");
+ Price.ToString(tmp3);
+ }
+ if((Reward != null) && __isset.Reward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Reward: ");
+ Reward.ToString(tmp3);
+ }
+ if(__isset.OldPrice)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("OldPrice: ");
+ OldPrice.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValueItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValueItem.cs.meta
new file mode 100644
index 0000000..bef3c3e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/BonusValueItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8f21be4a256735c4bb2f4d93c11736de
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.Extensions.cs
new file mode 100644
index 0000000..503bc19
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.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 CardDetailCfgExtensions
+ {
+ 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/CardDetailCfg.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.Extensions.cs.meta
new file mode 100644
index 0000000..7f84847
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c7324b9a3164f864daa6fdba7614776c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.cs
new file mode 100644
index 0000000..6dc2d4e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.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 CardDetailCfg : TBase
+ {
+ private Dictionary _carddetailcfgs;
+
+ [DataMember(Order = 0)]
+ public Dictionary Carddetailcfgs
+ {
+ get
+ {
+ return _carddetailcfgs;
+ }
+ set
+ {
+ __isset.@carddetailcfgs = true;
+ this._carddetailcfgs = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @carddetailcfgs;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCarddetailcfgs()
+ {
+ return __isset.@carddetailcfgs;
+ }
+
+ #endregion XmlSerializer support
+
+ public CardDetailCfg()
+ {
+ }
+
+ public CardDetailCfg DeepCopy()
+ {
+ var tmp5 = new CardDetailCfg();
+ if((Carddetailcfgs != null) && __isset.@carddetailcfgs)
+ {
+ tmp5.Carddetailcfgs = this.Carddetailcfgs.DeepCopy();
+ }
+ tmp5.__isset.@carddetailcfgs = this.__isset.@carddetailcfgs;
+ 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);
+ Carddetailcfgs = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CardDetailCfgItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CardDetailCfgItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Carddetailcfgs[_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("CardDetailCfg");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Carddetailcfgs != null) && __isset.@carddetailcfgs)
+ {
+ tmp11.Name = "carddetailcfgs";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Carddetailcfgs.Count), cancellationToken);
+ foreach (int _iter12 in Carddetailcfgs.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Carddetailcfgs[_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 CardDetailCfg other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@carddetailcfgs == other.__isset.@carddetailcfgs) && ((!__isset.@carddetailcfgs) || (TCollections.Equals(Carddetailcfgs, other.Carddetailcfgs))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Carddetailcfgs != null) && __isset.@carddetailcfgs)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Carddetailcfgs);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CardDetailCfg(");
+ int tmp14 = 0;
+ if((Carddetailcfgs != null) && __isset.@carddetailcfgs)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Carddetailcfgs: ");
+ Carddetailcfgs.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.cs.meta
new file mode 100644
index 0000000..f348304
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 43dc95cd241dbb24ca4de1fb2d116705
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfgItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfgItem.cs
new file mode 100644
index 0000000..81ba6be
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfgItem.cs
@@ -0,0 +1,651 @@
+/**
+ *
+ * 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 CardDetailCfgItem : TBase
+ {
+ private int _Id;
+ private int _PictureAlbum;
+ private string _Icon;
+ private int _Color;
+ private int _Star;
+ private string _ImageRes;
+ private int _IsGold;
+ private string _Name;
+ private int _Round;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int PictureAlbum
+ {
+ get
+ {
+ return _PictureAlbum;
+ }
+ set
+ {
+ __isset.PictureAlbum = true;
+ this._PictureAlbum = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Icon
+ {
+ get
+ {
+ return _Icon;
+ }
+ set
+ {
+ __isset.Icon = true;
+ this._Icon = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Color
+ {
+ get
+ {
+ return _Color;
+ }
+ set
+ {
+ __isset.Color = true;
+ this._Color = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Star
+ {
+ get
+ {
+ return _Star;
+ }
+ set
+ {
+ __isset.Star = true;
+ this._Star = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ImageRes
+ {
+ get
+ {
+ return _ImageRes;
+ }
+ set
+ {
+ __isset.ImageRes = true;
+ this._ImageRes = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int IsGold
+ {
+ get
+ {
+ return _IsGold;
+ }
+ set
+ {
+ __isset.IsGold = true;
+ this._IsGold = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Name
+ {
+ get
+ {
+ return _Name;
+ }
+ set
+ {
+ __isset.Name = true;
+ this._Name = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Round
+ {
+ get
+ {
+ return _Round;
+ }
+ set
+ {
+ __isset.Round = true;
+ this._Round = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool PictureAlbum;
+ [DataMember]
+ public bool Icon;
+ [DataMember]
+ public bool Color;
+ [DataMember]
+ public bool Star;
+ [DataMember]
+ public bool ImageRes;
+ [DataMember]
+ public bool IsGold;
+ [DataMember]
+ public bool Name;
+ [DataMember]
+ public bool Round;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializePictureAlbum()
+ {
+ return __isset.PictureAlbum;
+ }
+
+ public bool ShouldSerializeIcon()
+ {
+ return __isset.Icon;
+ }
+
+ public bool ShouldSerializeColor()
+ {
+ return __isset.Color;
+ }
+
+ public bool ShouldSerializeStar()
+ {
+ return __isset.Star;
+ }
+
+ public bool ShouldSerializeImageRes()
+ {
+ return __isset.ImageRes;
+ }
+
+ public bool ShouldSerializeIsGold()
+ {
+ return __isset.IsGold;
+ }
+
+ public bool ShouldSerializeName()
+ {
+ return __isset.Name;
+ }
+
+ public bool ShouldSerializeRound()
+ {
+ return __isset.Round;
+ }
+
+ #endregion XmlSerializer support
+
+ public CardDetailCfgItem()
+ {
+ }
+
+ public CardDetailCfgItem DeepCopy()
+ {
+ var tmp0 = new CardDetailCfgItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.PictureAlbum)
+ {
+ tmp0.PictureAlbum = this.PictureAlbum;
+ }
+ tmp0.__isset.PictureAlbum = this.__isset.PictureAlbum;
+ if((Icon != null) && __isset.Icon)
+ {
+ tmp0.Icon = this.Icon;
+ }
+ tmp0.__isset.Icon = this.__isset.Icon;
+ if(__isset.Color)
+ {
+ tmp0.Color = this.Color;
+ }
+ tmp0.__isset.Color = this.__isset.Color;
+ if(__isset.Star)
+ {
+ tmp0.Star = this.Star;
+ }
+ tmp0.__isset.Star = this.__isset.Star;
+ if((ImageRes != null) && __isset.ImageRes)
+ {
+ tmp0.ImageRes = this.ImageRes;
+ }
+ tmp0.__isset.ImageRes = this.__isset.ImageRes;
+ if(__isset.IsGold)
+ {
+ tmp0.IsGold = this.IsGold;
+ }
+ tmp0.__isset.IsGold = this.__isset.IsGold;
+ if((Name != null) && __isset.Name)
+ {
+ tmp0.Name = this.Name;
+ }
+ tmp0.__isset.Name = this.__isset.Name;
+ if(__isset.Round)
+ {
+ tmp0.Round = this.Round;
+ }
+ tmp0.__isset.Round = this.__isset.Round;
+ 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)
+ {
+ PictureAlbum = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ Icon = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.I32)
+ {
+ Color = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.I32)
+ {
+ Star = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 6:
+ if (field.Type == TType.String)
+ {
+ ImageRes = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 7:
+ if (field.Type == TType.I32)
+ {
+ IsGold = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 8:
+ if (field.Type == TType.String)
+ {
+ Name = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 9:
+ if (field.Type == TType.I32)
+ {
+ Round = await iprot.ReadI32Async(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("CardDetailCfgItem");
+ 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.PictureAlbum)
+ {
+ tmp2.Name = "PictureAlbum";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(PictureAlbum, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ tmp2.Name = "Icon";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Icon, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Color)
+ {
+ tmp2.Name = "Color";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Color, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Star)
+ {
+ tmp2.Name = "Star";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Star, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ImageRes != null) && __isset.ImageRes)
+ {
+ tmp2.Name = "ImageRes";
+ tmp2.Type = TType.String;
+ tmp2.ID = 6;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ImageRes, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.IsGold)
+ {
+ tmp2.Name = "IsGold";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 7;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(IsGold, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Name != null) && __isset.Name)
+ {
+ tmp2.Name = "Name";
+ tmp2.Type = TType.String;
+ tmp2.ID = 8;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Name, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Round)
+ {
+ tmp2.Name = "Round";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 9;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Round, 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 CardDetailCfgItem 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.PictureAlbum == other.__isset.PictureAlbum) && ((!__isset.PictureAlbum) || (global::System.Object.Equals(PictureAlbum, other.PictureAlbum))))
+ && ((__isset.Icon == other.__isset.Icon) && ((!__isset.Icon) || (global::System.Object.Equals(Icon, other.Icon))))
+ && ((__isset.Color == other.__isset.Color) && ((!__isset.Color) || (global::System.Object.Equals(Color, other.Color))))
+ && ((__isset.Star == other.__isset.Star) && ((!__isset.Star) || (global::System.Object.Equals(Star, other.Star))))
+ && ((__isset.ImageRes == other.__isset.ImageRes) && ((!__isset.ImageRes) || (global::System.Object.Equals(ImageRes, other.ImageRes))))
+ && ((__isset.IsGold == other.__isset.IsGold) && ((!__isset.IsGold) || (global::System.Object.Equals(IsGold, other.IsGold))))
+ && ((__isset.Name == other.__isset.Name) && ((!__isset.Name) || (global::System.Object.Equals(Name, other.Name))))
+ && ((__isset.Round == other.__isset.Round) && ((!__isset.Round) || (global::System.Object.Equals(Round, other.Round))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.PictureAlbum)
+ {
+ hashcode = (hashcode * 397) + PictureAlbum.GetHashCode();
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ hashcode = (hashcode * 397) + Icon.GetHashCode();
+ }
+ if(__isset.Color)
+ {
+ hashcode = (hashcode * 397) + Color.GetHashCode();
+ }
+ if(__isset.Star)
+ {
+ hashcode = (hashcode * 397) + Star.GetHashCode();
+ }
+ if((ImageRes != null) && __isset.ImageRes)
+ {
+ hashcode = (hashcode * 397) + ImageRes.GetHashCode();
+ }
+ if(__isset.IsGold)
+ {
+ hashcode = (hashcode * 397) + IsGold.GetHashCode();
+ }
+ if((Name != null) && __isset.Name)
+ {
+ hashcode = (hashcode * 397) + Name.GetHashCode();
+ }
+ if(__isset.Round)
+ {
+ hashcode = (hashcode * 397) + Round.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CardDetailCfgItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.PictureAlbum)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PictureAlbum: ");
+ PictureAlbum.ToString(tmp3);
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Icon: ");
+ Icon.ToString(tmp3);
+ }
+ if(__isset.Color)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Color: ");
+ Color.ToString(tmp3);
+ }
+ if(__isset.Star)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Star: ");
+ Star.ToString(tmp3);
+ }
+ if((ImageRes != null) && __isset.ImageRes)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ImageRes: ");
+ ImageRes.ToString(tmp3);
+ }
+ if(__isset.IsGold)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("IsGold: ");
+ IsGold.ToString(tmp3);
+ }
+ if((Name != null) && __isset.Name)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Name: ");
+ Name.ToString(tmp3);
+ }
+ if(__isset.Round)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Round: ");
+ Round.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfgItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfgItem.cs.meta
new file mode 100644
index 0000000..c7fb837
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardDetailCfgItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1e5287a55e65bf64d853a9a81a433818
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.Extensions.cs
new file mode 100644
index 0000000..7b0884f
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.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 CardPackCfgExtensions
+ {
+ 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/CardPackCfg.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.Extensions.cs.meta
new file mode 100644
index 0000000..43ec031
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f51b6aac0c7e8684097a3cf4240f8b7d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.cs
new file mode 100644
index 0000000..906f327
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.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 CardPackCfg : TBase
+ {
+ private Dictionary _cardpackcfgs;
+
+ [DataMember(Order = 0)]
+ public Dictionary Cardpackcfgs
+ {
+ get
+ {
+ return _cardpackcfgs;
+ }
+ set
+ {
+ __isset.@cardpackcfgs = true;
+ this._cardpackcfgs = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @cardpackcfgs;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCardpackcfgs()
+ {
+ return __isset.@cardpackcfgs;
+ }
+
+ #endregion XmlSerializer support
+
+ public CardPackCfg()
+ {
+ }
+
+ public CardPackCfg DeepCopy()
+ {
+ var tmp5 = new CardPackCfg();
+ if((Cardpackcfgs != null) && __isset.@cardpackcfgs)
+ {
+ tmp5.Cardpackcfgs = this.Cardpackcfgs.DeepCopy();
+ }
+ tmp5.__isset.@cardpackcfgs = this.__isset.@cardpackcfgs;
+ 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);
+ Cardpackcfgs = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CardPackCfgItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CardPackCfgItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Cardpackcfgs[_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("CardPackCfg");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Cardpackcfgs != null) && __isset.@cardpackcfgs)
+ {
+ tmp11.Name = "cardpackcfgs";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Cardpackcfgs.Count), cancellationToken);
+ foreach (int _iter12 in Cardpackcfgs.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Cardpackcfgs[_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 CardPackCfg other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@cardpackcfgs == other.__isset.@cardpackcfgs) && ((!__isset.@cardpackcfgs) || (TCollections.Equals(Cardpackcfgs, other.Cardpackcfgs))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Cardpackcfgs != null) && __isset.@cardpackcfgs)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Cardpackcfgs);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CardPackCfg(");
+ int tmp14 = 0;
+ if((Cardpackcfgs != null) && __isset.@cardpackcfgs)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Cardpackcfgs: ");
+ Cardpackcfgs.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.cs.meta
new file mode 100644
index 0000000..505709c
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4ac4f382a99048841899db2eb277a67a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfgItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfgItem.cs
new file mode 100644
index 0000000..3867f08
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfgItem.cs
@@ -0,0 +1,480 @@
+/**
+ *
+ * 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 CardPackCfgItem : TBase
+ {
+ private int _Id;
+ private string _Icon;
+ private int _Color;
+ private string _Name;
+ private int _RewardCnt;
+ private int _GoldRate;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Icon
+ {
+ get
+ {
+ return _Icon;
+ }
+ set
+ {
+ __isset.Icon = true;
+ this._Icon = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Color
+ {
+ get
+ {
+ return _Color;
+ }
+ set
+ {
+ __isset.Color = true;
+ this._Color = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Name
+ {
+ get
+ {
+ return _Name;
+ }
+ set
+ {
+ __isset.Name = true;
+ this._Name = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int RewardCnt
+ {
+ get
+ {
+ return _RewardCnt;
+ }
+ set
+ {
+ __isset.RewardCnt = true;
+ this._RewardCnt = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int GoldRate
+ {
+ get
+ {
+ return _GoldRate;
+ }
+ set
+ {
+ __isset.GoldRate = true;
+ this._GoldRate = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Icon;
+ [DataMember]
+ public bool Color;
+ [DataMember]
+ public bool Name;
+ [DataMember]
+ public bool RewardCnt;
+ [DataMember]
+ public bool GoldRate;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeIcon()
+ {
+ return __isset.Icon;
+ }
+
+ public bool ShouldSerializeColor()
+ {
+ return __isset.Color;
+ }
+
+ public bool ShouldSerializeName()
+ {
+ return __isset.Name;
+ }
+
+ public bool ShouldSerializeRewardCnt()
+ {
+ return __isset.RewardCnt;
+ }
+
+ public bool ShouldSerializeGoldRate()
+ {
+ return __isset.GoldRate;
+ }
+
+ #endregion XmlSerializer support
+
+ public CardPackCfgItem()
+ {
+ }
+
+ public CardPackCfgItem DeepCopy()
+ {
+ var tmp0 = new CardPackCfgItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if((Icon != null) && __isset.Icon)
+ {
+ tmp0.Icon = this.Icon;
+ }
+ tmp0.__isset.Icon = this.__isset.Icon;
+ if(__isset.Color)
+ {
+ tmp0.Color = this.Color;
+ }
+ tmp0.__isset.Color = this.__isset.Color;
+ if((Name != null) && __isset.Name)
+ {
+ tmp0.Name = this.Name;
+ }
+ tmp0.__isset.Name = this.__isset.Name;
+ if(__isset.RewardCnt)
+ {
+ tmp0.RewardCnt = this.RewardCnt;
+ }
+ tmp0.__isset.RewardCnt = this.__isset.RewardCnt;
+ if(__isset.GoldRate)
+ {
+ tmp0.GoldRate = this.GoldRate;
+ }
+ tmp0.__isset.GoldRate = this.__isset.GoldRate;
+ 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.String)
+ {
+ Icon = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ Color = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ Name = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.I32)
+ {
+ RewardCnt = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 6:
+ if (field.Type == TType.I32)
+ {
+ GoldRate = await iprot.ReadI32Async(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("CardPackCfgItem");
+ 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((Icon != null) && __isset.Icon)
+ {
+ tmp2.Name = "Icon";
+ tmp2.Type = TType.String;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Icon, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Color)
+ {
+ tmp2.Name = "Color";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Color, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Name != null) && __isset.Name)
+ {
+ tmp2.Name = "Name";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Name, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.RewardCnt)
+ {
+ tmp2.Name = "RewardCnt";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(RewardCnt, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.GoldRate)
+ {
+ tmp2.Name = "GoldRate";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 6;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(GoldRate, 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 CardPackCfgItem 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.Icon == other.__isset.Icon) && ((!__isset.Icon) || (global::System.Object.Equals(Icon, other.Icon))))
+ && ((__isset.Color == other.__isset.Color) && ((!__isset.Color) || (global::System.Object.Equals(Color, other.Color))))
+ && ((__isset.Name == other.__isset.Name) && ((!__isset.Name) || (global::System.Object.Equals(Name, other.Name))))
+ && ((__isset.RewardCnt == other.__isset.RewardCnt) && ((!__isset.RewardCnt) || (global::System.Object.Equals(RewardCnt, other.RewardCnt))))
+ && ((__isset.GoldRate == other.__isset.GoldRate) && ((!__isset.GoldRate) || (global::System.Object.Equals(GoldRate, other.GoldRate))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ hashcode = (hashcode * 397) + Icon.GetHashCode();
+ }
+ if(__isset.Color)
+ {
+ hashcode = (hashcode * 397) + Color.GetHashCode();
+ }
+ if((Name != null) && __isset.Name)
+ {
+ hashcode = (hashcode * 397) + Name.GetHashCode();
+ }
+ if(__isset.RewardCnt)
+ {
+ hashcode = (hashcode * 397) + RewardCnt.GetHashCode();
+ }
+ if(__isset.GoldRate)
+ {
+ hashcode = (hashcode * 397) + GoldRate.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CardPackCfgItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Icon: ");
+ Icon.ToString(tmp3);
+ }
+ if(__isset.Color)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Color: ");
+ Color.ToString(tmp3);
+ }
+ if((Name != null) && __isset.Name)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Name: ");
+ Name.ToString(tmp3);
+ }
+ if(__isset.RewardCnt)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("RewardCnt: ");
+ RewardCnt.ToString(tmp3);
+ }
+ if(__isset.GoldRate)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("GoldRate: ");
+ GoldRate.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfgItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfgItem.cs.meta
new file mode 100644
index 0000000..73f2b1f
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardPackCfgItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4b316da1ce29fb645bbfe047479560f6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.Extensions.cs
new file mode 100644
index 0000000..92d95eb
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.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 CardStickerExchangeCfgExtensions
+ {
+ 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/CardStickerExchangeCfg.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.Extensions.cs.meta
new file mode 100644
index 0000000..86ea53f
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: bb28e186d03803a498eaf32b75b4acf3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.cs
new file mode 100644
index 0000000..d16bee2
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.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 CardStickerExchangeCfg : TBase
+ {
+ private Dictionary _cardstickerexchangecfgs;
+
+ [DataMember(Order = 0)]
+ public Dictionary Cardstickerexchangecfgs
+ {
+ get
+ {
+ return _cardstickerexchangecfgs;
+ }
+ set
+ {
+ __isset.@cardstickerexchangecfgs = true;
+ this._cardstickerexchangecfgs = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @cardstickerexchangecfgs;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCardstickerexchangecfgs()
+ {
+ return __isset.@cardstickerexchangecfgs;
+ }
+
+ #endregion XmlSerializer support
+
+ public CardStickerExchangeCfg()
+ {
+ }
+
+ public CardStickerExchangeCfg DeepCopy()
+ {
+ var tmp5 = new CardStickerExchangeCfg();
+ if((Cardstickerexchangecfgs != null) && __isset.@cardstickerexchangecfgs)
+ {
+ tmp5.Cardstickerexchangecfgs = this.Cardstickerexchangecfgs.DeepCopy();
+ }
+ tmp5.__isset.@cardstickerexchangecfgs = this.__isset.@cardstickerexchangecfgs;
+ 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);
+ Cardstickerexchangecfgs = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CardStickerExchangeCfgItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CardStickerExchangeCfgItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Cardstickerexchangecfgs[_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("CardStickerExchangeCfg");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Cardstickerexchangecfgs != null) && __isset.@cardstickerexchangecfgs)
+ {
+ tmp11.Name = "cardstickerexchangecfgs";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Cardstickerexchangecfgs.Count), cancellationToken);
+ foreach (int _iter12 in Cardstickerexchangecfgs.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Cardstickerexchangecfgs[_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 CardStickerExchangeCfg other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@cardstickerexchangecfgs == other.__isset.@cardstickerexchangecfgs) && ((!__isset.@cardstickerexchangecfgs) || (TCollections.Equals(Cardstickerexchangecfgs, other.Cardstickerexchangecfgs))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Cardstickerexchangecfgs != null) && __isset.@cardstickerexchangecfgs)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Cardstickerexchangecfgs);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CardStickerExchangeCfg(");
+ int tmp14 = 0;
+ if((Cardstickerexchangecfgs != null) && __isset.@cardstickerexchangecfgs)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Cardstickerexchangecfgs: ");
+ Cardstickerexchangecfgs.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.cs.meta
new file mode 100644
index 0000000..71b767e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 553d3804dd24e334787eb569680e7455
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfgItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfgItem.cs
new file mode 100644
index 0000000..aa42f1c
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfgItem.cs
@@ -0,0 +1,423 @@
+/**
+ *
+ * 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 CardStickerExchangeCfgItem : TBase
+ {
+ private int _Id;
+ private string _Icon;
+ private int _Cost;
+ private string _RewardId;
+ private string _RewardCnt;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Icon
+ {
+ get
+ {
+ return _Icon;
+ }
+ set
+ {
+ __isset.Icon = true;
+ this._Icon = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Cost
+ {
+ get
+ {
+ return _Cost;
+ }
+ set
+ {
+ __isset.Cost = true;
+ this._Cost = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string RewardId
+ {
+ get
+ {
+ return _RewardId;
+ }
+ set
+ {
+ __isset.RewardId = true;
+ this._RewardId = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string RewardCnt
+ {
+ get
+ {
+ return _RewardCnt;
+ }
+ set
+ {
+ __isset.RewardCnt = true;
+ this._RewardCnt = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Icon;
+ [DataMember]
+ public bool Cost;
+ [DataMember]
+ public bool RewardId;
+ [DataMember]
+ public bool RewardCnt;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeIcon()
+ {
+ return __isset.Icon;
+ }
+
+ public bool ShouldSerializeCost()
+ {
+ return __isset.Cost;
+ }
+
+ public bool ShouldSerializeRewardId()
+ {
+ return __isset.RewardId;
+ }
+
+ public bool ShouldSerializeRewardCnt()
+ {
+ return __isset.RewardCnt;
+ }
+
+ #endregion XmlSerializer support
+
+ public CardStickerExchangeCfgItem()
+ {
+ }
+
+ public CardStickerExchangeCfgItem DeepCopy()
+ {
+ var tmp0 = new CardStickerExchangeCfgItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if((Icon != null) && __isset.Icon)
+ {
+ tmp0.Icon = this.Icon;
+ }
+ tmp0.__isset.Icon = this.__isset.Icon;
+ if(__isset.Cost)
+ {
+ tmp0.Cost = this.Cost;
+ }
+ tmp0.__isset.Cost = this.__isset.Cost;
+ if((RewardId != null) && __isset.RewardId)
+ {
+ tmp0.RewardId = this.RewardId;
+ }
+ tmp0.__isset.RewardId = this.__isset.RewardId;
+ if((RewardCnt != null) && __isset.RewardCnt)
+ {
+ tmp0.RewardCnt = this.RewardCnt;
+ }
+ tmp0.__isset.RewardCnt = this.__isset.RewardCnt;
+ 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.String)
+ {
+ Icon = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ Cost = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ RewardId = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.String)
+ {
+ RewardCnt = 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("CardStickerExchangeCfgItem");
+ 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((Icon != null) && __isset.Icon)
+ {
+ tmp2.Name = "Icon";
+ tmp2.Type = TType.String;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Icon, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Cost)
+ {
+ tmp2.Name = "Cost";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Cost, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((RewardId != null) && __isset.RewardId)
+ {
+ tmp2.Name = "RewardId";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(RewardId, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((RewardCnt != null) && __isset.RewardCnt)
+ {
+ tmp2.Name = "RewardCnt";
+ tmp2.Type = TType.String;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(RewardCnt, 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 CardStickerExchangeCfgItem 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.Icon == other.__isset.Icon) && ((!__isset.Icon) || (global::System.Object.Equals(Icon, other.Icon))))
+ && ((__isset.Cost == other.__isset.Cost) && ((!__isset.Cost) || (global::System.Object.Equals(Cost, other.Cost))))
+ && ((__isset.RewardId == other.__isset.RewardId) && ((!__isset.RewardId) || (global::System.Object.Equals(RewardId, other.RewardId))))
+ && ((__isset.RewardCnt == other.__isset.RewardCnt) && ((!__isset.RewardCnt) || (global::System.Object.Equals(RewardCnt, other.RewardCnt))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ hashcode = (hashcode * 397) + Icon.GetHashCode();
+ }
+ if(__isset.Cost)
+ {
+ hashcode = (hashcode * 397) + Cost.GetHashCode();
+ }
+ if((RewardId != null) && __isset.RewardId)
+ {
+ hashcode = (hashcode * 397) + RewardId.GetHashCode();
+ }
+ if((RewardCnt != null) && __isset.RewardCnt)
+ {
+ hashcode = (hashcode * 397) + RewardCnt.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CardStickerExchangeCfgItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Icon: ");
+ Icon.ToString(tmp3);
+ }
+ if(__isset.Cost)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Cost: ");
+ Cost.ToString(tmp3);
+ }
+ if((RewardId != null) && __isset.RewardId)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("RewardId: ");
+ RewardId.ToString(tmp3);
+ }
+ if((RewardCnt != null) && __isset.RewardCnt)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("RewardCnt: ");
+ RewardCnt.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfgItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfgItem.cs.meta
new file mode 100644
index 0000000..85c4004
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CardStickerExchangeCfgItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: bdb1bb4e070010141847d27c4ff24513
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.Extensions.cs
new file mode 100644
index 0000000..1c4bfbb
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.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 CatTrickDataExtensions
+ {
+ 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/CatTrickData.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.Extensions.cs.meta
new file mode 100644
index 0000000..636fdfd
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a3561834c6b72534cbb0b3a82f53d13c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.cs
new file mode 100644
index 0000000..4b0b5c1
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.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 CatTrickData : TBase
+ {
+ private Dictionary _cattrickdatas;
+
+ [DataMember(Order = 0)]
+ public Dictionary Cattrickdatas
+ {
+ get
+ {
+ return _cattrickdatas;
+ }
+ set
+ {
+ __isset.@cattrickdatas = true;
+ this._cattrickdatas = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @cattrickdatas;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCattrickdatas()
+ {
+ return __isset.@cattrickdatas;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatTrickData()
+ {
+ }
+
+ public CatTrickData DeepCopy()
+ {
+ var tmp5 = new CatTrickData();
+ if((Cattrickdatas != null) && __isset.@cattrickdatas)
+ {
+ tmp5.Cattrickdatas = this.Cattrickdatas.DeepCopy();
+ }
+ tmp5.__isset.@cattrickdatas = this.__isset.@cattrickdatas;
+ 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);
+ Cattrickdatas = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CatTrickDataItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CatTrickDataItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Cattrickdatas[_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("CatTrickData");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Cattrickdatas != null) && __isset.@cattrickdatas)
+ {
+ tmp11.Name = "cattrickdatas";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Cattrickdatas.Count), cancellationToken);
+ foreach (int _iter12 in Cattrickdatas.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Cattrickdatas[_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 CatTrickData other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@cattrickdatas == other.__isset.@cattrickdatas) && ((!__isset.@cattrickdatas) || (TCollections.Equals(Cattrickdatas, other.Cattrickdatas))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Cattrickdatas != null) && __isset.@cattrickdatas)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Cattrickdatas);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CatTrickData(");
+ int tmp14 = 0;
+ if((Cattrickdatas != null) && __isset.@cattrickdatas)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Cattrickdatas: ");
+ Cattrickdatas.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.cs.meta
new file mode 100644
index 0000000..1d6f89b
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a61181f82cc0251459a16a10e6d81678
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickDataItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickDataItem.cs
new file mode 100644
index 0000000..94bcd84
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickDataItem.cs
@@ -0,0 +1,423 @@
+/**
+ *
+ * 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 CatTrickDataItem : TBase
+ {
+ private int _Id;
+ private int _Type;
+ private int _Duration;
+ private int _Diamond;
+ private int _Energy;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Type
+ {
+ get
+ {
+ return _Type;
+ }
+ set
+ {
+ __isset.Type = true;
+ this._Type = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Duration
+ {
+ get
+ {
+ return _Duration;
+ }
+ set
+ {
+ __isset.Duration = true;
+ this._Duration = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Diamond
+ {
+ get
+ {
+ return _Diamond;
+ }
+ set
+ {
+ __isset.Diamond = true;
+ this._Diamond = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Energy
+ {
+ get
+ {
+ return _Energy;
+ }
+ set
+ {
+ __isset.Energy = true;
+ this._Energy = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Type;
+ [DataMember]
+ public bool Duration;
+ [DataMember]
+ public bool Diamond;
+ [DataMember]
+ public bool Energy;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeType()
+ {
+ return __isset.Type;
+ }
+
+ public bool ShouldSerializeDuration()
+ {
+ return __isset.Duration;
+ }
+
+ public bool ShouldSerializeDiamond()
+ {
+ return __isset.Diamond;
+ }
+
+ public bool ShouldSerializeEnergy()
+ {
+ return __isset.Energy;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatTrickDataItem()
+ {
+ }
+
+ public CatTrickDataItem DeepCopy()
+ {
+ var tmp0 = new CatTrickDataItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.Type)
+ {
+ tmp0.Type = this.Type;
+ }
+ tmp0.__isset.Type = this.__isset.Type;
+ if(__isset.Duration)
+ {
+ tmp0.Duration = this.Duration;
+ }
+ tmp0.__isset.Duration = this.__isset.Duration;
+ if(__isset.Diamond)
+ {
+ tmp0.Diamond = this.Diamond;
+ }
+ tmp0.__isset.Diamond = this.__isset.Diamond;
+ if(__isset.Energy)
+ {
+ tmp0.Energy = this.Energy;
+ }
+ tmp0.__isset.Energy = this.__isset.Energy;
+ 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)
+ {
+ Type = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ Duration = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.I32)
+ {
+ Diamond = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.I32)
+ {
+ Energy = await iprot.ReadI32Async(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("CatTrickDataItem");
+ 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.Type)
+ {
+ tmp2.Name = "Type";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Type, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Duration)
+ {
+ tmp2.Name = "Duration";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Duration, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Diamond)
+ {
+ tmp2.Name = "Diamond";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Diamond, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Energy)
+ {
+ tmp2.Name = "Energy";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Energy, 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 CatTrickDataItem 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.Type == other.__isset.Type) && ((!__isset.Type) || (global::System.Object.Equals(Type, other.Type))))
+ && ((__isset.Duration == other.__isset.Duration) && ((!__isset.Duration) || (global::System.Object.Equals(Duration, other.Duration))))
+ && ((__isset.Diamond == other.__isset.Diamond) && ((!__isset.Diamond) || (global::System.Object.Equals(Diamond, other.Diamond))))
+ && ((__isset.Energy == other.__isset.Energy) && ((!__isset.Energy) || (global::System.Object.Equals(Energy, other.Energy))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.Type)
+ {
+ hashcode = (hashcode * 397) + Type.GetHashCode();
+ }
+ if(__isset.Duration)
+ {
+ hashcode = (hashcode * 397) + Duration.GetHashCode();
+ }
+ if(__isset.Diamond)
+ {
+ hashcode = (hashcode * 397) + Diamond.GetHashCode();
+ }
+ if(__isset.Energy)
+ {
+ hashcode = (hashcode * 397) + Energy.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CatTrickDataItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.Type)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Type: ");
+ Type.ToString(tmp3);
+ }
+ if(__isset.Duration)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Duration: ");
+ Duration.ToString(tmp3);
+ }
+ if(__isset.Diamond)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Diamond: ");
+ Diamond.ToString(tmp3);
+ }
+ if(__isset.Energy)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Energy: ");
+ Energy.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickDataItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickDataItem.cs.meta
new file mode 100644
index 0000000..a810335
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatTrickDataItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b5d1fd996ed8b7940a799e98fda70e3c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.Extensions.cs
new file mode 100644
index 0000000..67af0ab
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.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 CatsGardenMultiplyDataExtensions
+ {
+ 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/CatsGardenMultiplyData.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.Extensions.cs.meta
new file mode 100644
index 0000000..fd51a68
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 928158da3e41f264e8b23634b4af866d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.cs
new file mode 100644
index 0000000..5d2a40b
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.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 CatsGardenMultiplyData : TBase
+ {
+ private Dictionary _catsgardenmultiplydatas;
+
+ [DataMember(Order = 0)]
+ public Dictionary Catsgardenmultiplydatas
+ {
+ get
+ {
+ return _catsgardenmultiplydatas;
+ }
+ set
+ {
+ __isset.@catsgardenmultiplydatas = true;
+ this._catsgardenmultiplydatas = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @catsgardenmultiplydatas;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCatsgardenmultiplydatas()
+ {
+ return __isset.@catsgardenmultiplydatas;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenMultiplyData()
+ {
+ }
+
+ public CatsGardenMultiplyData DeepCopy()
+ {
+ var tmp5 = new CatsGardenMultiplyData();
+ if((Catsgardenmultiplydatas != null) && __isset.@catsgardenmultiplydatas)
+ {
+ tmp5.Catsgardenmultiplydatas = this.Catsgardenmultiplydatas.DeepCopy();
+ }
+ tmp5.__isset.@catsgardenmultiplydatas = this.__isset.@catsgardenmultiplydatas;
+ 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);
+ Catsgardenmultiplydatas = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CatsGardenMultiplyDataItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CatsGardenMultiplyDataItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Catsgardenmultiplydatas[_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("CatsGardenMultiplyData");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Catsgardenmultiplydatas != null) && __isset.@catsgardenmultiplydatas)
+ {
+ tmp11.Name = "catsgardenmultiplydatas";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Catsgardenmultiplydatas.Count), cancellationToken);
+ foreach (int _iter12 in Catsgardenmultiplydatas.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Catsgardenmultiplydatas[_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 CatsGardenMultiplyData other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@catsgardenmultiplydatas == other.__isset.@catsgardenmultiplydatas) && ((!__isset.@catsgardenmultiplydatas) || (TCollections.Equals(Catsgardenmultiplydatas, other.Catsgardenmultiplydatas))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Catsgardenmultiplydatas != null) && __isset.@catsgardenmultiplydatas)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Catsgardenmultiplydatas);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CatsGardenMultiplyData(");
+ int tmp14 = 0;
+ if((Catsgardenmultiplydatas != null) && __isset.@catsgardenmultiplydatas)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Catsgardenmultiplydatas: ");
+ Catsgardenmultiplydatas.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.cs.meta
new file mode 100644
index 0000000..4e8a13a
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 467b7a355b08d3c44ac4a8398893833c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyDataItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyDataItem.cs
new file mode 100644
index 0000000..4c7ffea
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyDataItem.cs
@@ -0,0 +1,366 @@
+/**
+ *
+ * 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 CatsGardenMultiplyDataItem : TBase
+ {
+ private int _Id;
+ private int _Low;
+ private int _Mid;
+ private int _High;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Low
+ {
+ get
+ {
+ return _Low;
+ }
+ set
+ {
+ __isset.Low = true;
+ this._Low = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Mid
+ {
+ get
+ {
+ return _Mid;
+ }
+ set
+ {
+ __isset.Mid = true;
+ this._Mid = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int High
+ {
+ get
+ {
+ return _High;
+ }
+ set
+ {
+ __isset.High = true;
+ this._High = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Low;
+ [DataMember]
+ public bool Mid;
+ [DataMember]
+ public bool High;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeLow()
+ {
+ return __isset.Low;
+ }
+
+ public bool ShouldSerializeMid()
+ {
+ return __isset.Mid;
+ }
+
+ public bool ShouldSerializeHigh()
+ {
+ return __isset.High;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenMultiplyDataItem()
+ {
+ }
+
+ public CatsGardenMultiplyDataItem DeepCopy()
+ {
+ var tmp0 = new CatsGardenMultiplyDataItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.Low)
+ {
+ tmp0.Low = this.Low;
+ }
+ tmp0.__isset.Low = this.__isset.Low;
+ if(__isset.Mid)
+ {
+ tmp0.Mid = this.Mid;
+ }
+ tmp0.__isset.Mid = this.__isset.Mid;
+ if(__isset.High)
+ {
+ tmp0.High = this.High;
+ }
+ tmp0.__isset.High = this.__isset.High;
+ 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)
+ {
+ Low = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ Mid = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.I32)
+ {
+ High = await iprot.ReadI32Async(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("CatsGardenMultiplyDataItem");
+ 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.Low)
+ {
+ tmp2.Name = "Low";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Low, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Mid)
+ {
+ tmp2.Name = "Mid";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Mid, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.High)
+ {
+ tmp2.Name = "High";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(High, 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 CatsGardenMultiplyDataItem 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.Low == other.__isset.Low) && ((!__isset.Low) || (global::System.Object.Equals(Low, other.Low))))
+ && ((__isset.Mid == other.__isset.Mid) && ((!__isset.Mid) || (global::System.Object.Equals(Mid, other.Mid))))
+ && ((__isset.High == other.__isset.High) && ((!__isset.High) || (global::System.Object.Equals(High, other.High))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.Low)
+ {
+ hashcode = (hashcode * 397) + Low.GetHashCode();
+ }
+ if(__isset.Mid)
+ {
+ hashcode = (hashcode * 397) + Mid.GetHashCode();
+ }
+ if(__isset.High)
+ {
+ hashcode = (hashcode * 397) + High.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CatsGardenMultiplyDataItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.Low)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Low: ");
+ Low.ToString(tmp3);
+ }
+ if(__isset.Mid)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Mid: ");
+ Mid.ToString(tmp3);
+ }
+ if(__isset.High)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("High: ");
+ High.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyDataItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyDataItem.cs.meta
new file mode 100644
index 0000000..790a765
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenMultiplyDataItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 659a680a1acb5dc4b8472cfc478bd6c6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.Extensions.cs
new file mode 100644
index 0000000..0e143e3
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.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 CatsGardenProgressDataExtensions
+ {
+ 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/CatsGardenProgressData.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.Extensions.cs.meta
new file mode 100644
index 0000000..69a5284
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fe9a11fc79447d9418d762735ddd31b5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.cs
new file mode 100644
index 0000000..717e4f1
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.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 CatsGardenProgressData : TBase
+ {
+ private Dictionary _catsgardenprogressdatas;
+
+ [DataMember(Order = 0)]
+ public Dictionary Catsgardenprogressdatas
+ {
+ get
+ {
+ return _catsgardenprogressdatas;
+ }
+ set
+ {
+ __isset.@catsgardenprogressdatas = true;
+ this._catsgardenprogressdatas = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @catsgardenprogressdatas;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCatsgardenprogressdatas()
+ {
+ return __isset.@catsgardenprogressdatas;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenProgressData()
+ {
+ }
+
+ public CatsGardenProgressData DeepCopy()
+ {
+ var tmp5 = new CatsGardenProgressData();
+ if((Catsgardenprogressdatas != null) && __isset.@catsgardenprogressdatas)
+ {
+ tmp5.Catsgardenprogressdatas = this.Catsgardenprogressdatas.DeepCopy();
+ }
+ tmp5.__isset.@catsgardenprogressdatas = this.__isset.@catsgardenprogressdatas;
+ 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);
+ Catsgardenprogressdatas = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CatsGardenProgressDataItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CatsGardenProgressDataItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Catsgardenprogressdatas[_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("CatsGardenProgressData");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Catsgardenprogressdatas != null) && __isset.@catsgardenprogressdatas)
+ {
+ tmp11.Name = "catsgardenprogressdatas";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Catsgardenprogressdatas.Count), cancellationToken);
+ foreach (int _iter12 in Catsgardenprogressdatas.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Catsgardenprogressdatas[_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 CatsGardenProgressData other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@catsgardenprogressdatas == other.__isset.@catsgardenprogressdatas) && ((!__isset.@catsgardenprogressdatas) || (TCollections.Equals(Catsgardenprogressdatas, other.Catsgardenprogressdatas))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Catsgardenprogressdatas != null) && __isset.@catsgardenprogressdatas)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Catsgardenprogressdatas);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CatsGardenProgressData(");
+ int tmp14 = 0;
+ if((Catsgardenprogressdatas != null) && __isset.@catsgardenprogressdatas)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Catsgardenprogressdatas: ");
+ Catsgardenprogressdatas.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.cs.meta
new file mode 100644
index 0000000..bc858ef
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 500d11bf3c39b5b45b639e197adc26b3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressDataItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressDataItem.cs
new file mode 100644
index 0000000..e4f3ded
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressDataItem.cs
@@ -0,0 +1,366 @@
+/**
+ *
+ * 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 CatsGardenProgressDataItem : TBase
+ {
+ private int _Id;
+ private int _Template;
+ private int _Need;
+ private string _Items;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Template
+ {
+ get
+ {
+ return _Template;
+ }
+ set
+ {
+ __isset.Template = true;
+ this._Template = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Need
+ {
+ get
+ {
+ return _Need;
+ }
+ set
+ {
+ __isset.Need = true;
+ this._Need = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Items
+ {
+ get
+ {
+ return _Items;
+ }
+ set
+ {
+ __isset.Items = true;
+ this._Items = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Template;
+ [DataMember]
+ public bool Need;
+ [DataMember]
+ public bool Items;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeTemplate()
+ {
+ return __isset.Template;
+ }
+
+ public bool ShouldSerializeNeed()
+ {
+ return __isset.Need;
+ }
+
+ public bool ShouldSerializeItems()
+ {
+ return __isset.Items;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenProgressDataItem()
+ {
+ }
+
+ public CatsGardenProgressDataItem DeepCopy()
+ {
+ var tmp0 = new CatsGardenProgressDataItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.Template)
+ {
+ tmp0.Template = this.Template;
+ }
+ tmp0.__isset.Template = this.__isset.Template;
+ if(__isset.Need)
+ {
+ tmp0.Need = this.Need;
+ }
+ tmp0.__isset.Need = this.__isset.Need;
+ if((Items != null) && __isset.Items)
+ {
+ tmp0.Items = this.Items;
+ }
+ tmp0.__isset.Items = this.__isset.Items;
+ 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)
+ {
+ Template = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ Need = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ Items = 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("CatsGardenProgressDataItem");
+ 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.Template)
+ {
+ tmp2.Name = "Template";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Template, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Need)
+ {
+ tmp2.Name = "Need";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Need, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Items != null) && __isset.Items)
+ {
+ tmp2.Name = "Items";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Items, 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 CatsGardenProgressDataItem 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.Template == other.__isset.Template) && ((!__isset.Template) || (global::System.Object.Equals(Template, other.Template))))
+ && ((__isset.Need == other.__isset.Need) && ((!__isset.Need) || (global::System.Object.Equals(Need, other.Need))))
+ && ((__isset.Items == other.__isset.Items) && ((!__isset.Items) || (global::System.Object.Equals(Items, other.Items))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.Template)
+ {
+ hashcode = (hashcode * 397) + Template.GetHashCode();
+ }
+ if(__isset.Need)
+ {
+ hashcode = (hashcode * 397) + Need.GetHashCode();
+ }
+ if((Items != null) && __isset.Items)
+ {
+ hashcode = (hashcode * 397) + Items.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CatsGardenProgressDataItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.Template)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Template: ");
+ Template.ToString(tmp3);
+ }
+ if(__isset.Need)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Need: ");
+ Need.ToString(tmp3);
+ }
+ if((Items != null) && __isset.Items)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Items: ");
+ Items.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressDataItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressDataItem.cs.meta
new file mode 100644
index 0000000..5b423e8
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenProgressDataItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b36347887d175484e9b02d6663d065e8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.Extensions.cs
new file mode 100644
index 0000000..53eab23
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.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 CatsGardenSlotDataExtensions
+ {
+ 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/CatsGardenSlotData.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.Extensions.cs.meta
new file mode 100644
index 0000000..d3d8e46
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 989a7a412ea70894b9a7c5634b9c8f6b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.cs
new file mode 100644
index 0000000..db49ee6
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.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 CatsGardenSlotData : TBase
+ {
+ private Dictionary _catsgardenslotdatas;
+
+ [DataMember(Order = 0)]
+ public Dictionary Catsgardenslotdatas
+ {
+ get
+ {
+ return _catsgardenslotdatas;
+ }
+ set
+ {
+ __isset.@catsgardenslotdatas = true;
+ this._catsgardenslotdatas = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @catsgardenslotdatas;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCatsgardenslotdatas()
+ {
+ return __isset.@catsgardenslotdatas;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenSlotData()
+ {
+ }
+
+ public CatsGardenSlotData DeepCopy()
+ {
+ var tmp5 = new CatsGardenSlotData();
+ if((Catsgardenslotdatas != null) && __isset.@catsgardenslotdatas)
+ {
+ tmp5.Catsgardenslotdatas = this.Catsgardenslotdatas.DeepCopy();
+ }
+ tmp5.__isset.@catsgardenslotdatas = this.__isset.@catsgardenslotdatas;
+ 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);
+ Catsgardenslotdatas = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CatsGardenSlotDataItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CatsGardenSlotDataItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Catsgardenslotdatas[_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("CatsGardenSlotData");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Catsgardenslotdatas != null) && __isset.@catsgardenslotdatas)
+ {
+ tmp11.Name = "catsgardenslotdatas";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Catsgardenslotdatas.Count), cancellationToken);
+ foreach (int _iter12 in Catsgardenslotdatas.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Catsgardenslotdatas[_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 CatsGardenSlotData other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@catsgardenslotdatas == other.__isset.@catsgardenslotdatas) && ((!__isset.@catsgardenslotdatas) || (TCollections.Equals(Catsgardenslotdatas, other.Catsgardenslotdatas))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Catsgardenslotdatas != null) && __isset.@catsgardenslotdatas)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Catsgardenslotdatas);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CatsGardenSlotData(");
+ int tmp14 = 0;
+ if((Catsgardenslotdatas != null) && __isset.@catsgardenslotdatas)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Catsgardenslotdatas: ");
+ Catsgardenslotdatas.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.cs.meta
new file mode 100644
index 0000000..d26a89b
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 5bf44415b001f864c8de3d2e378d69b6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotDataItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotDataItem.cs
new file mode 100644
index 0000000..76d19ad
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotDataItem.cs
@@ -0,0 +1,423 @@
+/**
+ *
+ * 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 CatsGardenSlotDataItem : TBase
+ {
+ private int _Id;
+ private string _Items;
+ private string _FriendItems;
+ private int _Type;
+ private int _Growth;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Items
+ {
+ get
+ {
+ return _Items;
+ }
+ set
+ {
+ __isset.Items = true;
+ this._Items = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string FriendItems
+ {
+ get
+ {
+ return _FriendItems;
+ }
+ set
+ {
+ __isset.FriendItems = true;
+ this._FriendItems = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Type
+ {
+ get
+ {
+ return _Type;
+ }
+ set
+ {
+ __isset.Type = true;
+ this._Type = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Growth
+ {
+ get
+ {
+ return _Growth;
+ }
+ set
+ {
+ __isset.Growth = true;
+ this._Growth = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Items;
+ [DataMember]
+ public bool FriendItems;
+ [DataMember]
+ public bool Type;
+ [DataMember]
+ public bool Growth;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeItems()
+ {
+ return __isset.Items;
+ }
+
+ public bool ShouldSerializeFriendItems()
+ {
+ return __isset.FriendItems;
+ }
+
+ public bool ShouldSerializeType()
+ {
+ return __isset.Type;
+ }
+
+ public bool ShouldSerializeGrowth()
+ {
+ return __isset.Growth;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenSlotDataItem()
+ {
+ }
+
+ public CatsGardenSlotDataItem DeepCopy()
+ {
+ var tmp0 = new CatsGardenSlotDataItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if((Items != null) && __isset.Items)
+ {
+ tmp0.Items = this.Items;
+ }
+ tmp0.__isset.Items = this.__isset.Items;
+ if((FriendItems != null) && __isset.FriendItems)
+ {
+ tmp0.FriendItems = this.FriendItems;
+ }
+ tmp0.__isset.FriendItems = this.__isset.FriendItems;
+ if(__isset.Type)
+ {
+ tmp0.Type = this.Type;
+ }
+ tmp0.__isset.Type = this.__isset.Type;
+ if(__isset.Growth)
+ {
+ tmp0.Growth = this.Growth;
+ }
+ tmp0.__isset.Growth = this.__isset.Growth;
+ 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.String)
+ {
+ Items = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ FriendItems = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.I32)
+ {
+ Type = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.I32)
+ {
+ Growth = await iprot.ReadI32Async(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("CatsGardenSlotDataItem");
+ 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((Items != null) && __isset.Items)
+ {
+ tmp2.Name = "Items";
+ tmp2.Type = TType.String;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Items, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((FriendItems != null) && __isset.FriendItems)
+ {
+ tmp2.Name = "FriendItems";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(FriendItems, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Type)
+ {
+ tmp2.Name = "Type";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Type, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Growth)
+ {
+ tmp2.Name = "Growth";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Growth, 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 CatsGardenSlotDataItem 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.Items == other.__isset.Items) && ((!__isset.Items) || (global::System.Object.Equals(Items, other.Items))))
+ && ((__isset.FriendItems == other.__isset.FriendItems) && ((!__isset.FriendItems) || (global::System.Object.Equals(FriendItems, other.FriendItems))))
+ && ((__isset.Type == other.__isset.Type) && ((!__isset.Type) || (global::System.Object.Equals(Type, other.Type))))
+ && ((__isset.Growth == other.__isset.Growth) && ((!__isset.Growth) || (global::System.Object.Equals(Growth, other.Growth))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if((Items != null) && __isset.Items)
+ {
+ hashcode = (hashcode * 397) + Items.GetHashCode();
+ }
+ if((FriendItems != null) && __isset.FriendItems)
+ {
+ hashcode = (hashcode * 397) + FriendItems.GetHashCode();
+ }
+ if(__isset.Type)
+ {
+ hashcode = (hashcode * 397) + Type.GetHashCode();
+ }
+ if(__isset.Growth)
+ {
+ hashcode = (hashcode * 397) + Growth.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CatsGardenSlotDataItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if((Items != null) && __isset.Items)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Items: ");
+ Items.ToString(tmp3);
+ }
+ if((FriendItems != null) && __isset.FriendItems)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("FriendItems: ");
+ FriendItems.ToString(tmp3);
+ }
+ if(__isset.Type)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Type: ");
+ Type.ToString(tmp3);
+ }
+ if(__isset.Growth)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Growth: ");
+ Growth.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotDataItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotDataItem.cs.meta
new file mode 100644
index 0000000..e1b1de7
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenSlotDataItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f0c36acf2e693b34f9cfdb9d849eea16
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.Extensions.cs
new file mode 100644
index 0000000..bf1d060
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.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 CatsGardenTempleteDataExtensions
+ {
+ 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/CatsGardenTempleteData.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.Extensions.cs.meta
new file mode 100644
index 0000000..935a09f
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9ad8cb5f344b2264da5cf3ee06b6a4c1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.cs
new file mode 100644
index 0000000..1168923
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.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 CatsGardenTempleteData : TBase
+ {
+ private Dictionary _catsgardentempletedatas;
+
+ [DataMember(Order = 0)]
+ public Dictionary Catsgardentempletedatas
+ {
+ get
+ {
+ return _catsgardentempletedatas;
+ }
+ set
+ {
+ __isset.@catsgardentempletedatas = true;
+ this._catsgardentempletedatas = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @catsgardentempletedatas;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCatsgardentempletedatas()
+ {
+ return __isset.@catsgardentempletedatas;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenTempleteData()
+ {
+ }
+
+ public CatsGardenTempleteData DeepCopy()
+ {
+ var tmp5 = new CatsGardenTempleteData();
+ if((Catsgardentempletedatas != null) && __isset.@catsgardentempletedatas)
+ {
+ tmp5.Catsgardentempletedatas = this.Catsgardentempletedatas.DeepCopy();
+ }
+ tmp5.__isset.@catsgardentempletedatas = this.__isset.@catsgardentempletedatas;
+ 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);
+ Catsgardentempletedatas = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CatsGardenTempleteDataItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CatsGardenTempleteDataItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Catsgardentempletedatas[_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("CatsGardenTempleteData");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Catsgardentempletedatas != null) && __isset.@catsgardentempletedatas)
+ {
+ tmp11.Name = "catsgardentempletedatas";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Catsgardentempletedatas.Count), cancellationToken);
+ foreach (int _iter12 in Catsgardentempletedatas.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Catsgardentempletedatas[_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 CatsGardenTempleteData other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@catsgardentempletedatas == other.__isset.@catsgardentempletedatas) && ((!__isset.@catsgardentempletedatas) || (TCollections.Equals(Catsgardentempletedatas, other.Catsgardentempletedatas))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Catsgardentempletedatas != null) && __isset.@catsgardentempletedatas)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Catsgardentempletedatas);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CatsGardenTempleteData(");
+ int tmp14 = 0;
+ if((Catsgardentempletedatas != null) && __isset.@catsgardentempletedatas)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Catsgardentempletedatas: ");
+ Catsgardentempletedatas.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.cs.meta
new file mode 100644
index 0000000..a324dca
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0bc2a1ff2c2fd1e4098899211aafeb16
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteDataItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteDataItem.cs
new file mode 100644
index 0000000..357c33b
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteDataItem.cs
@@ -0,0 +1,480 @@
+/**
+ *
+ * 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 CatsGardenTempleteDataItem : TBase
+ {
+ private int _Id;
+ private int _Template;
+ private int _PassNum;
+ private string _ItemCost;
+ private int _ItemId;
+ private string _Reward;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Template
+ {
+ get
+ {
+ return _Template;
+ }
+ set
+ {
+ __isset.Template = true;
+ this._Template = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int PassNum
+ {
+ get
+ {
+ return _PassNum;
+ }
+ set
+ {
+ __isset.PassNum = true;
+ this._PassNum = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemCost
+ {
+ get
+ {
+ return _ItemCost;
+ }
+ set
+ {
+ __isset.ItemCost = true;
+ this._ItemCost = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int ItemId
+ {
+ get
+ {
+ return _ItemId;
+ }
+ set
+ {
+ __isset.ItemId = true;
+ this._ItemId = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Reward
+ {
+ get
+ {
+ return _Reward;
+ }
+ set
+ {
+ __isset.Reward = true;
+ this._Reward = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Template;
+ [DataMember]
+ public bool PassNum;
+ [DataMember]
+ public bool ItemCost;
+ [DataMember]
+ public bool ItemId;
+ [DataMember]
+ public bool Reward;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeTemplate()
+ {
+ return __isset.Template;
+ }
+
+ public bool ShouldSerializePassNum()
+ {
+ return __isset.PassNum;
+ }
+
+ public bool ShouldSerializeItemCost()
+ {
+ return __isset.ItemCost;
+ }
+
+ public bool ShouldSerializeItemId()
+ {
+ return __isset.ItemId;
+ }
+
+ public bool ShouldSerializeReward()
+ {
+ return __isset.Reward;
+ }
+
+ #endregion XmlSerializer support
+
+ public CatsGardenTempleteDataItem()
+ {
+ }
+
+ public CatsGardenTempleteDataItem DeepCopy()
+ {
+ var tmp0 = new CatsGardenTempleteDataItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.Template)
+ {
+ tmp0.Template = this.Template;
+ }
+ tmp0.__isset.Template = this.__isset.Template;
+ if(__isset.PassNum)
+ {
+ tmp0.PassNum = this.PassNum;
+ }
+ tmp0.__isset.PassNum = this.__isset.PassNum;
+ if((ItemCost != null) && __isset.ItemCost)
+ {
+ tmp0.ItemCost = this.ItemCost;
+ }
+ tmp0.__isset.ItemCost = this.__isset.ItemCost;
+ if(__isset.ItemId)
+ {
+ tmp0.ItemId = this.ItemId;
+ }
+ tmp0.__isset.ItemId = this.__isset.ItemId;
+ if((Reward != null) && __isset.Reward)
+ {
+ tmp0.Reward = this.Reward;
+ }
+ tmp0.__isset.Reward = this.__isset.Reward;
+ 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)
+ {
+ Template = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ PassNum = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ ItemCost = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.I32)
+ {
+ ItemId = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 6:
+ if (field.Type == TType.String)
+ {
+ Reward = 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("CatsGardenTempleteDataItem");
+ 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.Template)
+ {
+ tmp2.Name = "Template";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Template, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.PassNum)
+ {
+ tmp2.Name = "PassNum";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(PassNum, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemCost != null) && __isset.ItemCost)
+ {
+ tmp2.Name = "ItemCost";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemCost, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.ItemId)
+ {
+ tmp2.Name = "ItemId";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(ItemId, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Reward != null) && __isset.Reward)
+ {
+ tmp2.Name = "Reward";
+ tmp2.Type = TType.String;
+ tmp2.ID = 6;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Reward, 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 CatsGardenTempleteDataItem 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.Template == other.__isset.Template) && ((!__isset.Template) || (global::System.Object.Equals(Template, other.Template))))
+ && ((__isset.PassNum == other.__isset.PassNum) && ((!__isset.PassNum) || (global::System.Object.Equals(PassNum, other.PassNum))))
+ && ((__isset.ItemCost == other.__isset.ItemCost) && ((!__isset.ItemCost) || (global::System.Object.Equals(ItemCost, other.ItemCost))))
+ && ((__isset.ItemId == other.__isset.ItemId) && ((!__isset.ItemId) || (global::System.Object.Equals(ItemId, other.ItemId))))
+ && ((__isset.Reward == other.__isset.Reward) && ((!__isset.Reward) || (global::System.Object.Equals(Reward, other.Reward))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.Template)
+ {
+ hashcode = (hashcode * 397) + Template.GetHashCode();
+ }
+ if(__isset.PassNum)
+ {
+ hashcode = (hashcode * 397) + PassNum.GetHashCode();
+ }
+ if((ItemCost != null) && __isset.ItemCost)
+ {
+ hashcode = (hashcode * 397) + ItemCost.GetHashCode();
+ }
+ if(__isset.ItemId)
+ {
+ hashcode = (hashcode * 397) + ItemId.GetHashCode();
+ }
+ if((Reward != null) && __isset.Reward)
+ {
+ hashcode = (hashcode * 397) + Reward.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CatsGardenTempleteDataItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.Template)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Template: ");
+ Template.ToString(tmp3);
+ }
+ if(__isset.PassNum)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("PassNum: ");
+ PassNum.ToString(tmp3);
+ }
+ if((ItemCost != null) && __isset.ItemCost)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemCost: ");
+ ItemCost.ToString(tmp3);
+ }
+ if(__isset.ItemId)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemId: ");
+ ItemId.ToString(tmp3);
+ }
+ if((Reward != null) && __isset.Reward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Reward: ");
+ Reward.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteDataItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteDataItem.cs.meta
new file mode 100644
index 0000000..7d33e04
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CatsGardenTempleteDataItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 700de15d9e5768142b13fcdae320283a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.Extensions.cs
new file mode 100644
index 0000000..e81ad28
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.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 ChampshipCfgExtensions
+ {
+ 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/ChampshipCfg.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.Extensions.cs.meta
new file mode 100644
index 0000000..d80cb0d
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fcc449e186f294f4baa6411cb26be34e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.cs
new file mode 100644
index 0000000..4082d24
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.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 ChampshipCfg : TBase
+ {
+ private Dictionary _champshipcfgs;
+
+ [DataMember(Order = 0)]
+ public Dictionary Champshipcfgs
+ {
+ get
+ {
+ return _champshipcfgs;
+ }
+ set
+ {
+ __isset.@champshipcfgs = true;
+ this._champshipcfgs = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @champshipcfgs;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeChampshipcfgs()
+ {
+ return __isset.@champshipcfgs;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChampshipCfg()
+ {
+ }
+
+ public ChampshipCfg DeepCopy()
+ {
+ var tmp5 = new ChampshipCfg();
+ if((Champshipcfgs != null) && __isset.@champshipcfgs)
+ {
+ tmp5.Champshipcfgs = this.Champshipcfgs.DeepCopy();
+ }
+ tmp5.__isset.@champshipcfgs = this.__isset.@champshipcfgs;
+ 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);
+ Champshipcfgs = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.ChampshipCfgItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.ChampshipCfgItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Champshipcfgs[_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("ChampshipCfg");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Champshipcfgs != null) && __isset.@champshipcfgs)
+ {
+ tmp11.Name = "champshipcfgs";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Champshipcfgs.Count), cancellationToken);
+ foreach (int _iter12 in Champshipcfgs.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Champshipcfgs[_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 ChampshipCfg other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@champshipcfgs == other.__isset.@champshipcfgs) && ((!__isset.@champshipcfgs) || (TCollections.Equals(Champshipcfgs, other.Champshipcfgs))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Champshipcfgs != null) && __isset.@champshipcfgs)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Champshipcfgs);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("ChampshipCfg(");
+ int tmp14 = 0;
+ if((Champshipcfgs != null) && __isset.@champshipcfgs)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Champshipcfgs: ");
+ Champshipcfgs.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.cs.meta
new file mode 100644
index 0000000..a698066
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfg.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 3e8bbe4346a0a35479bc47597268acff
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfgItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfgItem.cs
new file mode 100644
index 0000000..d45176d
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfgItem.cs
@@ -0,0 +1,423 @@
+/**
+ *
+ * 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 ChampshipCfgItem : TBase
+ {
+ private int _Id;
+ private string _Icon;
+ private string _Bg;
+ private string _NameKey;
+ private string _Button;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Icon
+ {
+ get
+ {
+ return _Icon;
+ }
+ set
+ {
+ __isset.Icon = true;
+ this._Icon = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Bg
+ {
+ get
+ {
+ return _Bg;
+ }
+ set
+ {
+ __isset.Bg = true;
+ this._Bg = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string NameKey
+ {
+ get
+ {
+ return _NameKey;
+ }
+ set
+ {
+ __isset.NameKey = true;
+ this._NameKey = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Button
+ {
+ get
+ {
+ return _Button;
+ }
+ set
+ {
+ __isset.Button = true;
+ this._Button = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Icon;
+ [DataMember]
+ public bool Bg;
+ [DataMember]
+ public bool NameKey;
+ [DataMember]
+ public bool Button;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeIcon()
+ {
+ return __isset.Icon;
+ }
+
+ public bool ShouldSerializeBg()
+ {
+ return __isset.Bg;
+ }
+
+ public bool ShouldSerializeNameKey()
+ {
+ return __isset.NameKey;
+ }
+
+ public bool ShouldSerializeButton()
+ {
+ return __isset.Button;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChampshipCfgItem()
+ {
+ }
+
+ public ChampshipCfgItem DeepCopy()
+ {
+ var tmp0 = new ChampshipCfgItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if((Icon != null) && __isset.Icon)
+ {
+ tmp0.Icon = this.Icon;
+ }
+ tmp0.__isset.Icon = this.__isset.Icon;
+ if((Bg != null) && __isset.Bg)
+ {
+ tmp0.Bg = this.Bg;
+ }
+ tmp0.__isset.Bg = this.__isset.Bg;
+ if((NameKey != null) && __isset.NameKey)
+ {
+ tmp0.NameKey = this.NameKey;
+ }
+ tmp0.__isset.NameKey = this.__isset.NameKey;
+ if((Button != null) && __isset.Button)
+ {
+ tmp0.Button = this.Button;
+ }
+ tmp0.__isset.Button = this.__isset.Button;
+ 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.String)
+ {
+ Icon = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ Bg = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ NameKey = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.String)
+ {
+ Button = 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("ChampshipCfgItem");
+ 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((Icon != null) && __isset.Icon)
+ {
+ tmp2.Name = "Icon";
+ tmp2.Type = TType.String;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Icon, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Bg != null) && __isset.Bg)
+ {
+ tmp2.Name = "Bg";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Bg, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((NameKey != null) && __isset.NameKey)
+ {
+ tmp2.Name = "NameKey";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(NameKey, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Button != null) && __isset.Button)
+ {
+ tmp2.Name = "Button";
+ tmp2.Type = TType.String;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Button, 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 ChampshipCfgItem 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.Icon == other.__isset.Icon) && ((!__isset.Icon) || (global::System.Object.Equals(Icon, other.Icon))))
+ && ((__isset.Bg == other.__isset.Bg) && ((!__isset.Bg) || (global::System.Object.Equals(Bg, other.Bg))))
+ && ((__isset.NameKey == other.__isset.NameKey) && ((!__isset.NameKey) || (global::System.Object.Equals(NameKey, other.NameKey))))
+ && ((__isset.Button == other.__isset.Button) && ((!__isset.Button) || (global::System.Object.Equals(Button, other.Button))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ hashcode = (hashcode * 397) + Icon.GetHashCode();
+ }
+ if((Bg != null) && __isset.Bg)
+ {
+ hashcode = (hashcode * 397) + Bg.GetHashCode();
+ }
+ if((NameKey != null) && __isset.NameKey)
+ {
+ hashcode = (hashcode * 397) + NameKey.GetHashCode();
+ }
+ if((Button != null) && __isset.Button)
+ {
+ hashcode = (hashcode * 397) + Button.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("ChampshipCfgItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if((Icon != null) && __isset.Icon)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Icon: ");
+ Icon.ToString(tmp3);
+ }
+ if((Bg != null) && __isset.Bg)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Bg: ");
+ Bg.ToString(tmp3);
+ }
+ if((NameKey != null) && __isset.NameKey)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("NameKey: ");
+ NameKey.ToString(tmp3);
+ }
+ if((Button != null) && __isset.Button)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Button: ");
+ Button.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfgItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfgItem.cs.meta
new file mode 100644
index 0000000..932e472
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipCfgItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 34fc644322a23424598131b8fcd71919
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.Extensions.cs
new file mode 100644
index 0000000..9f68326
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.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 ChampshipRankRewardExtensions
+ {
+ 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/ChampshipRankReward.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.Extensions.cs.meta
new file mode 100644
index 0000000..5026593
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8b897ee94794d564e95c092281638fde
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.cs
new file mode 100644
index 0000000..4994bcb
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.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 ChampshipRankReward : TBase
+ {
+ private Dictionary _champshiprankrewards;
+
+ [DataMember(Order = 0)]
+ public Dictionary Champshiprankrewards
+ {
+ get
+ {
+ return _champshiprankrewards;
+ }
+ set
+ {
+ __isset.@champshiprankrewards = true;
+ this._champshiprankrewards = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @champshiprankrewards;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeChampshiprankrewards()
+ {
+ return __isset.@champshiprankrewards;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChampshipRankReward()
+ {
+ }
+
+ public ChampshipRankReward DeepCopy()
+ {
+ var tmp5 = new ChampshipRankReward();
+ if((Champshiprankrewards != null) && __isset.@champshiprankrewards)
+ {
+ tmp5.Champshiprankrewards = this.Champshiprankrewards.DeepCopy();
+ }
+ tmp5.__isset.@champshiprankrewards = this.__isset.@champshiprankrewards;
+ 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);
+ Champshiprankrewards = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.ChampshipRankRewardItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.ChampshipRankRewardItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Champshiprankrewards[_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("ChampshipRankReward");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Champshiprankrewards != null) && __isset.@champshiprankrewards)
+ {
+ tmp11.Name = "champshiprankrewards";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Champshiprankrewards.Count), cancellationToken);
+ foreach (int _iter12 in Champshiprankrewards.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Champshiprankrewards[_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 ChampshipRankReward other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@champshiprankrewards == other.__isset.@champshiprankrewards) && ((!__isset.@champshiprankrewards) || (TCollections.Equals(Champshiprankrewards, other.Champshiprankrewards))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Champshiprankrewards != null) && __isset.@champshiprankrewards)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Champshiprankrewards);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("ChampshipRankReward(");
+ int tmp14 = 0;
+ if((Champshiprankrewards != null) && __isset.@champshiprankrewards)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Champshiprankrewards: ");
+ Champshiprankrewards.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.cs.meta
new file mode 100644
index 0000000..cd81483
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 31c0da8df7194734abf1bb537841b8a4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankRewardItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankRewardItem.cs
new file mode 100644
index 0000000..935872c
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankRewardItem.cs
@@ -0,0 +1,537 @@
+/**
+ *
+ * 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 ChampshipRankRewardItem : TBase
+ {
+ private int _Id;
+ private int _Rank;
+ private string _ItemReward;
+ private double _People30;
+ private double _People50;
+ private double _People80;
+ private double _People100;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Rank
+ {
+ get
+ {
+ return _Rank;
+ }
+ set
+ {
+ __isset.Rank = true;
+ this._Rank = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemReward
+ {
+ get
+ {
+ return _ItemReward;
+ }
+ set
+ {
+ __isset.ItemReward = true;
+ this._ItemReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public double People30
+ {
+ get
+ {
+ return _People30;
+ }
+ set
+ {
+ __isset.People30 = true;
+ this._People30 = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public double People50
+ {
+ get
+ {
+ return _People50;
+ }
+ set
+ {
+ __isset.People50 = true;
+ this._People50 = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public double People80
+ {
+ get
+ {
+ return _People80;
+ }
+ set
+ {
+ __isset.People80 = true;
+ this._People80 = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public double People100
+ {
+ get
+ {
+ return _People100;
+ }
+ set
+ {
+ __isset.People100 = true;
+ this._People100 = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Rank;
+ [DataMember]
+ public bool ItemReward;
+ [DataMember]
+ public bool People30;
+ [DataMember]
+ public bool People50;
+ [DataMember]
+ public bool People80;
+ [DataMember]
+ public bool People100;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeRank()
+ {
+ return __isset.Rank;
+ }
+
+ public bool ShouldSerializeItemReward()
+ {
+ return __isset.ItemReward;
+ }
+
+ public bool ShouldSerializePeople30()
+ {
+ return __isset.People30;
+ }
+
+ public bool ShouldSerializePeople50()
+ {
+ return __isset.People50;
+ }
+
+ public bool ShouldSerializePeople80()
+ {
+ return __isset.People80;
+ }
+
+ public bool ShouldSerializePeople100()
+ {
+ return __isset.People100;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChampshipRankRewardItem()
+ {
+ }
+
+ public ChampshipRankRewardItem DeepCopy()
+ {
+ var tmp0 = new ChampshipRankRewardItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.Rank)
+ {
+ tmp0.Rank = this.Rank;
+ }
+ tmp0.__isset.Rank = this.__isset.Rank;
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp0.ItemReward = this.ItemReward;
+ }
+ tmp0.__isset.ItemReward = this.__isset.ItemReward;
+ if(__isset.People30)
+ {
+ tmp0.People30 = this.People30;
+ }
+ tmp0.__isset.People30 = this.__isset.People30;
+ if(__isset.People50)
+ {
+ tmp0.People50 = this.People50;
+ }
+ tmp0.__isset.People50 = this.__isset.People50;
+ if(__isset.People80)
+ {
+ tmp0.People80 = this.People80;
+ }
+ tmp0.__isset.People80 = this.__isset.People80;
+ if(__isset.People100)
+ {
+ tmp0.People100 = this.People100;
+ }
+ tmp0.__isset.People100 = this.__isset.People100;
+ 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)
+ {
+ Rank = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ ItemReward = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.Double)
+ {
+ People30 = await iprot.ReadDoubleAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.Double)
+ {
+ People50 = await iprot.ReadDoubleAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 6:
+ if (field.Type == TType.Double)
+ {
+ People80 = await iprot.ReadDoubleAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 7:
+ if (field.Type == TType.Double)
+ {
+ People100 = await iprot.ReadDoubleAsync(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("ChampshipRankRewardItem");
+ 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.Rank)
+ {
+ tmp2.Name = "Rank";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Rank, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp2.Name = "ItemReward";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemReward, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.People30)
+ {
+ tmp2.Name = "People30";
+ tmp2.Type = TType.Double;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteDoubleAsync(People30, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.People50)
+ {
+ tmp2.Name = "People50";
+ tmp2.Type = TType.Double;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteDoubleAsync(People50, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.People80)
+ {
+ tmp2.Name = "People80";
+ tmp2.Type = TType.Double;
+ tmp2.ID = 6;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteDoubleAsync(People80, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.People100)
+ {
+ tmp2.Name = "People100";
+ tmp2.Type = TType.Double;
+ tmp2.ID = 7;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteDoubleAsync(People100, 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 ChampshipRankRewardItem 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.Rank == other.__isset.Rank) && ((!__isset.Rank) || (global::System.Object.Equals(Rank, other.Rank))))
+ && ((__isset.ItemReward == other.__isset.ItemReward) && ((!__isset.ItemReward) || (global::System.Object.Equals(ItemReward, other.ItemReward))))
+ && ((__isset.People30 == other.__isset.People30) && ((!__isset.People30) || (global::System.Object.Equals(People30, other.People30))))
+ && ((__isset.People50 == other.__isset.People50) && ((!__isset.People50) || (global::System.Object.Equals(People50, other.People50))))
+ && ((__isset.People80 == other.__isset.People80) && ((!__isset.People80) || (global::System.Object.Equals(People80, other.People80))))
+ && ((__isset.People100 == other.__isset.People100) && ((!__isset.People100) || (global::System.Object.Equals(People100, other.People100))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.Rank)
+ {
+ hashcode = (hashcode * 397) + Rank.GetHashCode();
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ hashcode = (hashcode * 397) + ItemReward.GetHashCode();
+ }
+ if(__isset.People30)
+ {
+ hashcode = (hashcode * 397) + People30.GetHashCode();
+ }
+ if(__isset.People50)
+ {
+ hashcode = (hashcode * 397) + People50.GetHashCode();
+ }
+ if(__isset.People80)
+ {
+ hashcode = (hashcode * 397) + People80.GetHashCode();
+ }
+ if(__isset.People100)
+ {
+ hashcode = (hashcode * 397) + People100.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("ChampshipRankRewardItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.Rank)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Rank: ");
+ Rank.ToString(tmp3);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemReward: ");
+ ItemReward.ToString(tmp3);
+ }
+ if(__isset.People30)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("People30: ");
+ People30.ToString(tmp3);
+ }
+ if(__isset.People50)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("People50: ");
+ People50.ToString(tmp3);
+ }
+ if(__isset.People80)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("People80: ");
+ People80.ToString(tmp3);
+ }
+ if(__isset.People100)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("People100: ");
+ People100.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankRewardItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankRewardItem.cs.meta
new file mode 100644
index 0000000..cc55110
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipRankRewardItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8e25987973a3ddb41a86b6b883768538
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.Extensions.cs
new file mode 100644
index 0000000..ada1c29
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.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 ChampshipScoreRewardExtensions
+ {
+ 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/ChampshipScoreReward.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.Extensions.cs.meta
new file mode 100644
index 0000000..0d459ba
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: bfe1f79f46cd32048a69d95d674c4a13
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.cs
new file mode 100644
index 0000000..b86355f
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.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 ChampshipScoreReward : TBase
+ {
+ private Dictionary _champshipscorerewards;
+
+ [DataMember(Order = 0)]
+ public Dictionary Champshipscorerewards
+ {
+ get
+ {
+ return _champshipscorerewards;
+ }
+ set
+ {
+ __isset.@champshipscorerewards = true;
+ this._champshipscorerewards = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @champshipscorerewards;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeChampshipscorerewards()
+ {
+ return __isset.@champshipscorerewards;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChampshipScoreReward()
+ {
+ }
+
+ public ChampshipScoreReward DeepCopy()
+ {
+ var tmp5 = new ChampshipScoreReward();
+ if((Champshipscorerewards != null) && __isset.@champshipscorerewards)
+ {
+ tmp5.Champshipscorerewards = this.Champshipscorerewards.DeepCopy();
+ }
+ tmp5.__isset.@champshipscorerewards = this.__isset.@champshipscorerewards;
+ 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);
+ Champshipscorerewards = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.ChampshipScoreRewardItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.ChampshipScoreRewardItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Champshipscorerewards[_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("ChampshipScoreReward");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Champshipscorerewards != null) && __isset.@champshipscorerewards)
+ {
+ tmp11.Name = "champshipscorerewards";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Champshipscorerewards.Count), cancellationToken);
+ foreach (int _iter12 in Champshipscorerewards.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Champshipscorerewards[_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 ChampshipScoreReward other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@champshipscorerewards == other.__isset.@champshipscorerewards) && ((!__isset.@champshipscorerewards) || (TCollections.Equals(Champshipscorerewards, other.Champshipscorerewards))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Champshipscorerewards != null) && __isset.@champshipscorerewards)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Champshipscorerewards);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("ChampshipScoreReward(");
+ int tmp14 = 0;
+ if((Champshipscorerewards != null) && __isset.@champshipscorerewards)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Champshipscorerewards: ");
+ Champshipscorerewards.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.cs.meta
new file mode 100644
index 0000000..b080dc0
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 61115271e27600d49ba8acd98614d09f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreRewardItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreRewardItem.cs
new file mode 100644
index 0000000..ab04f47
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreRewardItem.cs
@@ -0,0 +1,366 @@
+/**
+ *
+ * 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 ChampshipScoreRewardItem : TBase
+ {
+ private int _Id;
+ private int _ScoreNeed;
+ private string _ItemReward;
+ private int _SortId;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int ScoreNeed
+ {
+ get
+ {
+ return _ScoreNeed;
+ }
+ set
+ {
+ __isset.ScoreNeed = true;
+ this._ScoreNeed = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemReward
+ {
+ get
+ {
+ return _ItemReward;
+ }
+ set
+ {
+ __isset.ItemReward = true;
+ this._ItemReward = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int SortId
+ {
+ get
+ {
+ return _SortId;
+ }
+ set
+ {
+ __isset.SortId = true;
+ this._SortId = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool ScoreNeed;
+ [DataMember]
+ public bool ItemReward;
+ [DataMember]
+ public bool SortId;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeScoreNeed()
+ {
+ return __isset.ScoreNeed;
+ }
+
+ public bool ShouldSerializeItemReward()
+ {
+ return __isset.ItemReward;
+ }
+
+ public bool ShouldSerializeSortId()
+ {
+ return __isset.SortId;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChampshipScoreRewardItem()
+ {
+ }
+
+ public ChampshipScoreRewardItem DeepCopy()
+ {
+ var tmp0 = new ChampshipScoreRewardItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.ScoreNeed)
+ {
+ tmp0.ScoreNeed = this.ScoreNeed;
+ }
+ tmp0.__isset.ScoreNeed = this.__isset.ScoreNeed;
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp0.ItemReward = this.ItemReward;
+ }
+ tmp0.__isset.ItemReward = this.__isset.ItemReward;
+ if(__isset.SortId)
+ {
+ tmp0.SortId = this.SortId;
+ }
+ tmp0.__isset.SortId = this.__isset.SortId;
+ 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)
+ {
+ ScoreNeed = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ ItemReward = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.I32)
+ {
+ SortId = await iprot.ReadI32Async(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("ChampshipScoreRewardItem");
+ 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.ScoreNeed)
+ {
+ tmp2.Name = "ScoreNeed";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(ScoreNeed, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp2.Name = "ItemReward";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemReward, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.SortId)
+ {
+ tmp2.Name = "SortId";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(SortId, 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 ChampshipScoreRewardItem 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.ScoreNeed == other.__isset.ScoreNeed) && ((!__isset.ScoreNeed) || (global::System.Object.Equals(ScoreNeed, other.ScoreNeed))))
+ && ((__isset.ItemReward == other.__isset.ItemReward) && ((!__isset.ItemReward) || (global::System.Object.Equals(ItemReward, other.ItemReward))))
+ && ((__isset.SortId == other.__isset.SortId) && ((!__isset.SortId) || (global::System.Object.Equals(SortId, other.SortId))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.ScoreNeed)
+ {
+ hashcode = (hashcode * 397) + ScoreNeed.GetHashCode();
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ hashcode = (hashcode * 397) + ItemReward.GetHashCode();
+ }
+ if(__isset.SortId)
+ {
+ hashcode = (hashcode * 397) + SortId.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("ChampshipScoreRewardItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.ScoreNeed)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ScoreNeed: ");
+ ScoreNeed.ToString(tmp3);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemReward: ");
+ ItemReward.ToString(tmp3);
+ }
+ if(__isset.SortId)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("SortId: ");
+ SortId.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreRewardItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreRewardItem.cs.meta
new file mode 100644
index 0000000..58684d2
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChampshipScoreRewardItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 562a26cdfee4d644abb59d1aaac06793
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.Extensions.cs
new file mode 100644
index 0000000..d47ae83
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.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 ChineseResMapExtensions
+ {
+ 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/ChineseResMap.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.Extensions.cs.meta
new file mode 100644
index 0000000..69e16be
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0f4a87567e0810542970fc0b08b840f8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.cs
new file mode 100644
index 0000000..6d6a60a
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.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 ChineseResMap : TBase
+ {
+ private Dictionary _chineseresmaps;
+
+ [DataMember(Order = 0)]
+ public Dictionary Chineseresmaps
+ {
+ get
+ {
+ return _chineseresmaps;
+ }
+ set
+ {
+ __isset.@chineseresmaps = true;
+ this._chineseresmaps = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @chineseresmaps;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeChineseresmaps()
+ {
+ return __isset.@chineseresmaps;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChineseResMap()
+ {
+ }
+
+ public ChineseResMap DeepCopy()
+ {
+ var tmp5 = new ChineseResMap();
+ if((Chineseresmaps != null) && __isset.@chineseresmaps)
+ {
+ tmp5.Chineseresmaps = this.Chineseresmaps.DeepCopy();
+ }
+ tmp5.__isset.@chineseresmaps = this.__isset.@chineseresmaps;
+ 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);
+ Chineseresmaps = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.ChineseResMapItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.ChineseResMapItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Chineseresmaps[_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("ChineseResMap");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Chineseresmaps != null) && __isset.@chineseresmaps)
+ {
+ tmp11.Name = "chineseresmaps";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Chineseresmaps.Count), cancellationToken);
+ foreach (int _iter12 in Chineseresmaps.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Chineseresmaps[_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 ChineseResMap other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@chineseresmaps == other.__isset.@chineseresmaps) && ((!__isset.@chineseresmaps) || (TCollections.Equals(Chineseresmaps, other.Chineseresmaps))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Chineseresmaps != null) && __isset.@chineseresmaps)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Chineseresmaps);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("ChineseResMap(");
+ int tmp14 = 0;
+ if((Chineseresmaps != null) && __isset.@chineseresmaps)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Chineseresmaps: ");
+ Chineseresmaps.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.cs.meta
new file mode 100644
index 0000000..ef99bd6
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMap.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 2daf91d564e5e0d4e97ca2b315c674b3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMapItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMapItem.cs
new file mode 100644
index 0000000..75afd42
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMapItem.cs
@@ -0,0 +1,309 @@
+/**
+ *
+ * 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 ChineseResMapItem : TBase
+ {
+ private int _Id;
+ private string _TargetStr;
+ private string _Chinese;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string TargetStr
+ {
+ get
+ {
+ return _TargetStr;
+ }
+ set
+ {
+ __isset.TargetStr = true;
+ this._TargetStr = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Chinese
+ {
+ get
+ {
+ return _Chinese;
+ }
+ set
+ {
+ __isset.Chinese = true;
+ this._Chinese = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool TargetStr;
+ [DataMember]
+ public bool Chinese;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeTargetStr()
+ {
+ return __isset.TargetStr;
+ }
+
+ public bool ShouldSerializeChinese()
+ {
+ return __isset.Chinese;
+ }
+
+ #endregion XmlSerializer support
+
+ public ChineseResMapItem()
+ {
+ }
+
+ public ChineseResMapItem DeepCopy()
+ {
+ var tmp0 = new ChineseResMapItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if((TargetStr != null) && __isset.TargetStr)
+ {
+ tmp0.TargetStr = this.TargetStr;
+ }
+ tmp0.__isset.TargetStr = this.__isset.TargetStr;
+ if((Chinese != null) && __isset.Chinese)
+ {
+ tmp0.Chinese = this.Chinese;
+ }
+ tmp0.__isset.Chinese = this.__isset.Chinese;
+ 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.String)
+ {
+ TargetStr = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ Chinese = 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("ChineseResMapItem");
+ 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((TargetStr != null) && __isset.TargetStr)
+ {
+ tmp2.Name = "TargetStr";
+ tmp2.Type = TType.String;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(TargetStr, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((Chinese != null) && __isset.Chinese)
+ {
+ tmp2.Name = "Chinese";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Chinese, 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 ChineseResMapItem 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.TargetStr == other.__isset.TargetStr) && ((!__isset.TargetStr) || (global::System.Object.Equals(TargetStr, other.TargetStr))))
+ && ((__isset.Chinese == other.__isset.Chinese) && ((!__isset.Chinese) || (global::System.Object.Equals(Chinese, other.Chinese))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if((TargetStr != null) && __isset.TargetStr)
+ {
+ hashcode = (hashcode * 397) + TargetStr.GetHashCode();
+ }
+ if((Chinese != null) && __isset.Chinese)
+ {
+ hashcode = (hashcode * 397) + Chinese.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("ChineseResMapItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if((TargetStr != null) && __isset.TargetStr)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("TargetStr: ");
+ TargetStr.ToString(tmp3);
+ }
+ if((Chinese != null) && __isset.Chinese)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Chinese: ");
+ Chinese.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMapItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMapItem.cs.meta
new file mode 100644
index 0000000..e61bbd8
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ChineseResMapItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 309385d96b2f22344926c389aea53fc1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.Extensions.cs
new file mode 100644
index 0000000..d236bfd
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.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 CollectionRoomRewardExtensions
+ {
+ 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/CollectionRoomReward.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.Extensions.cs.meta
new file mode 100644
index 0000000..95d0394
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d781f7cb55e070247b0167b76b5c7481
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.cs
new file mode 100644
index 0000000..4c9c6ea
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.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 CollectionRoomReward : TBase
+ {
+ private Dictionary _collectionroomrewards;
+
+ [DataMember(Order = 0)]
+ public Dictionary Collectionroomrewards
+ {
+ get
+ {
+ return _collectionroomrewards;
+ }
+ set
+ {
+ __isset.@collectionroomrewards = true;
+ this._collectionroomrewards = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @collectionroomrewards;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCollectionroomrewards()
+ {
+ return __isset.@collectionroomrewards;
+ }
+
+ #endregion XmlSerializer support
+
+ public CollectionRoomReward()
+ {
+ }
+
+ public CollectionRoomReward DeepCopy()
+ {
+ var tmp5 = new CollectionRoomReward();
+ if((Collectionroomrewards != null) && __isset.@collectionroomrewards)
+ {
+ tmp5.Collectionroomrewards = this.Collectionroomrewards.DeepCopy();
+ }
+ tmp5.__isset.@collectionroomrewards = this.__isset.@collectionroomrewards;
+ 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);
+ Collectionroomrewards = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CollectionRoomRewardItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CollectionRoomRewardItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Collectionroomrewards[_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("CollectionRoomReward");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Collectionroomrewards != null) && __isset.@collectionroomrewards)
+ {
+ tmp11.Name = "collectionroomrewards";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Collectionroomrewards.Count), cancellationToken);
+ foreach (int _iter12 in Collectionroomrewards.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Collectionroomrewards[_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 CollectionRoomReward other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@collectionroomrewards == other.__isset.@collectionroomrewards) && ((!__isset.@collectionroomrewards) || (TCollections.Equals(Collectionroomrewards, other.Collectionroomrewards))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Collectionroomrewards != null) && __isset.@collectionroomrewards)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Collectionroomrewards);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CollectionRoomReward(");
+ int tmp14 = 0;
+ if((Collectionroomrewards != null) && __isset.@collectionroomrewards)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Collectionroomrewards: ");
+ Collectionroomrewards.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.cs.meta
new file mode 100644
index 0000000..c0d96ce
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomReward.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 903f3cfb11ce680469281692352f61e2
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomRewardItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomRewardItem.cs
new file mode 100644
index 0000000..082a5af
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomRewardItem.cs
@@ -0,0 +1,423 @@
+/**
+ *
+ * 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 CollectionRoomRewardItem : TBase
+ {
+ private int _Id;
+ private int _Rank;
+ private string _ItemReward1;
+ private string _ItemReward2;
+ private string _ItemReward3;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Rank
+ {
+ get
+ {
+ return _Rank;
+ }
+ set
+ {
+ __isset.Rank = true;
+ this._Rank = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemReward1
+ {
+ get
+ {
+ return _ItemReward1;
+ }
+ set
+ {
+ __isset.ItemReward1 = true;
+ this._ItemReward1 = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemReward2
+ {
+ get
+ {
+ return _ItemReward2;
+ }
+ set
+ {
+ __isset.ItemReward2 = true;
+ this._ItemReward2 = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemReward3
+ {
+ get
+ {
+ return _ItemReward3;
+ }
+ set
+ {
+ __isset.ItemReward3 = true;
+ this._ItemReward3 = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Rank;
+ [DataMember]
+ public bool ItemReward1;
+ [DataMember]
+ public bool ItemReward2;
+ [DataMember]
+ public bool ItemReward3;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeRank()
+ {
+ return __isset.Rank;
+ }
+
+ public bool ShouldSerializeItemReward1()
+ {
+ return __isset.ItemReward1;
+ }
+
+ public bool ShouldSerializeItemReward2()
+ {
+ return __isset.ItemReward2;
+ }
+
+ public bool ShouldSerializeItemReward3()
+ {
+ return __isset.ItemReward3;
+ }
+
+ #endregion XmlSerializer support
+
+ public CollectionRoomRewardItem()
+ {
+ }
+
+ public CollectionRoomRewardItem DeepCopy()
+ {
+ var tmp0 = new CollectionRoomRewardItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.Rank)
+ {
+ tmp0.Rank = this.Rank;
+ }
+ tmp0.__isset.Rank = this.__isset.Rank;
+ if((ItemReward1 != null) && __isset.ItemReward1)
+ {
+ tmp0.ItemReward1 = this.ItemReward1;
+ }
+ tmp0.__isset.ItemReward1 = this.__isset.ItemReward1;
+ if((ItemReward2 != null) && __isset.ItemReward2)
+ {
+ tmp0.ItemReward2 = this.ItemReward2;
+ }
+ tmp0.__isset.ItemReward2 = this.__isset.ItemReward2;
+ if((ItemReward3 != null) && __isset.ItemReward3)
+ {
+ tmp0.ItemReward3 = this.ItemReward3;
+ }
+ tmp0.__isset.ItemReward3 = this.__isset.ItemReward3;
+ 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)
+ {
+ Rank = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.String)
+ {
+ ItemReward1 = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ ItemReward2 = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.String)
+ {
+ ItemReward3 = 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("CollectionRoomRewardItem");
+ 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.Rank)
+ {
+ tmp2.Name = "Rank";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Rank, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemReward1 != null) && __isset.ItemReward1)
+ {
+ tmp2.Name = "ItemReward1";
+ tmp2.Type = TType.String;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemReward1, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemReward2 != null) && __isset.ItemReward2)
+ {
+ tmp2.Name = "ItemReward2";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemReward2, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemReward3 != null) && __isset.ItemReward3)
+ {
+ tmp2.Name = "ItemReward3";
+ tmp2.Type = TType.String;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemReward3, 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 CollectionRoomRewardItem 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.Rank == other.__isset.Rank) && ((!__isset.Rank) || (global::System.Object.Equals(Rank, other.Rank))))
+ && ((__isset.ItemReward1 == other.__isset.ItemReward1) && ((!__isset.ItemReward1) || (global::System.Object.Equals(ItemReward1, other.ItemReward1))))
+ && ((__isset.ItemReward2 == other.__isset.ItemReward2) && ((!__isset.ItemReward2) || (global::System.Object.Equals(ItemReward2, other.ItemReward2))))
+ && ((__isset.ItemReward3 == other.__isset.ItemReward3) && ((!__isset.ItemReward3) || (global::System.Object.Equals(ItemReward3, other.ItemReward3))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.Rank)
+ {
+ hashcode = (hashcode * 397) + Rank.GetHashCode();
+ }
+ if((ItemReward1 != null) && __isset.ItemReward1)
+ {
+ hashcode = (hashcode * 397) + ItemReward1.GetHashCode();
+ }
+ if((ItemReward2 != null) && __isset.ItemReward2)
+ {
+ hashcode = (hashcode * 397) + ItemReward2.GetHashCode();
+ }
+ if((ItemReward3 != null) && __isset.ItemReward3)
+ {
+ hashcode = (hashcode * 397) + ItemReward3.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CollectionRoomRewardItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.Rank)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Rank: ");
+ Rank.ToString(tmp3);
+ }
+ if((ItemReward1 != null) && __isset.ItemReward1)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemReward1: ");
+ ItemReward1.ToString(tmp3);
+ }
+ if((ItemReward2 != null) && __isset.ItemReward2)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemReward2: ");
+ ItemReward2.ToString(tmp3);
+ }
+ if((ItemReward3 != null) && __isset.ItemReward3)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemReward3: ");
+ ItemReward3.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomRewardItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomRewardItem.cs.meta
new file mode 100644
index 0000000..274c9dd
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionRoomRewardItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7c2cac7ed09218a4eb01b9623e38d8f9
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.Extensions.cs
new file mode 100644
index 0000000..19afb5e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.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 CollectionsRewardsDataExtensions
+ {
+ 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/CollectionsRewardsData.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.Extensions.cs.meta
new file mode 100644
index 0000000..fa30775
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 688e7ba2bdd9f1c41b251814a66f8bc4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.cs
new file mode 100644
index 0000000..318eb5e
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.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 CollectionsRewardsData : TBase
+ {
+ private Dictionary _collectionsrewardsdatas;
+
+ [DataMember(Order = 0)]
+ public Dictionary Collectionsrewardsdatas
+ {
+ get
+ {
+ return _collectionsrewardsdatas;
+ }
+ set
+ {
+ __isset.@collectionsrewardsdatas = true;
+ this._collectionsrewardsdatas = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @collectionsrewardsdatas;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCollectionsrewardsdatas()
+ {
+ return __isset.@collectionsrewardsdatas;
+ }
+
+ #endregion XmlSerializer support
+
+ public CollectionsRewardsData()
+ {
+ }
+
+ public CollectionsRewardsData DeepCopy()
+ {
+ var tmp5 = new CollectionsRewardsData();
+ if((Collectionsrewardsdatas != null) && __isset.@collectionsrewardsdatas)
+ {
+ tmp5.Collectionsrewardsdatas = this.Collectionsrewardsdatas.DeepCopy();
+ }
+ tmp5.__isset.@collectionsrewardsdatas = this.__isset.@collectionsrewardsdatas;
+ 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);
+ Collectionsrewardsdatas = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.CollectionsRewardsDataItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.CollectionsRewardsDataItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Collectionsrewardsdatas[_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("CollectionsRewardsData");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Collectionsrewardsdatas != null) && __isset.@collectionsrewardsdatas)
+ {
+ tmp11.Name = "collectionsrewardsdatas";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Collectionsrewardsdatas.Count), cancellationToken);
+ foreach (int _iter12 in Collectionsrewardsdatas.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Collectionsrewardsdatas[_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 CollectionsRewardsData other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@collectionsrewardsdatas == other.__isset.@collectionsrewardsdatas) && ((!__isset.@collectionsrewardsdatas) || (TCollections.Equals(Collectionsrewardsdatas, other.Collectionsrewardsdatas))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Collectionsrewardsdatas != null) && __isset.@collectionsrewardsdatas)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Collectionsrewardsdatas);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("CollectionsRewardsData(");
+ int tmp14 = 0;
+ if((Collectionsrewardsdatas != null) && __isset.@collectionsrewardsdatas)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Collectionsrewardsdatas: ");
+ Collectionsrewardsdatas.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.cs.meta
new file mode 100644
index 0000000..29bb38b
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b9b1165d12f8bcd479bbd637df9ae3f5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsDataItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsDataItem.cs
new file mode 100644
index 0000000..f385053
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsDataItem.cs
@@ -0,0 +1,423 @@
+/**
+ *
+ * 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 CollectionsRewardsDataItem : TBase
+ {
+ private int _Id;
+ private int _Index;
+ private int _Type;
+ private int _Need;
+ private int _ClientNeed;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Index
+ {
+ get
+ {
+ return _Index;
+ }
+ set
+ {
+ __isset.Index = true;
+ this._Index = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Type
+ {
+ get
+ {
+ return _Type;
+ }
+ set
+ {
+ __isset.Type = true;
+ this._Type = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int Need
+ {
+ get
+ {
+ return _Need;
+ }
+ set
+ {
+ __isset.Need = true;
+ this._Need = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public int ClientNeed
+ {
+ get
+ {
+ return _ClientNeed;
+ }
+ set
+ {
+ __isset.ClientNeed = true;
+ this._ClientNeed = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Index;
+ [DataMember]
+ public bool Type;
+ [DataMember]
+ public bool Need;
+ [DataMember]
+ public bool ClientNeed;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeIndex()
+ {
+ return __isset.Index;
+ }
+
+ public bool ShouldSerializeType()
+ {
+ return __isset.Type;
+ }
+
+ public bool ShouldSerializeNeed()
+ {
+ return __isset.Need;
+ }
+
+ public bool ShouldSerializeClientNeed()
+ {
+ return __isset.ClientNeed;
+ }
+
+ #endregion XmlSerializer support
+
+ public CollectionsRewardsDataItem()
+ {
+ }
+
+ public CollectionsRewardsDataItem DeepCopy()
+ {
+ var tmp0 = new CollectionsRewardsDataItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if(__isset.Index)
+ {
+ tmp0.Index = this.Index;
+ }
+ tmp0.__isset.Index = this.__isset.Index;
+ if(__isset.Type)
+ {
+ tmp0.Type = this.Type;
+ }
+ tmp0.__isset.Type = this.__isset.Type;
+ if(__isset.Need)
+ {
+ tmp0.Need = this.Need;
+ }
+ tmp0.__isset.Need = this.__isset.Need;
+ if(__isset.ClientNeed)
+ {
+ tmp0.ClientNeed = this.ClientNeed;
+ }
+ tmp0.__isset.ClientNeed = this.__isset.ClientNeed;
+ 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)
+ {
+ Index = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.I32)
+ {
+ Type = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.I32)
+ {
+ Need = await iprot.ReadI32Async(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 5:
+ if (field.Type == TType.I32)
+ {
+ ClientNeed = await iprot.ReadI32Async(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("CollectionsRewardsDataItem");
+ 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.Index)
+ {
+ tmp2.Name = "Index";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Index, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Type)
+ {
+ tmp2.Name = "Type";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Type, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Need)
+ {
+ tmp2.Name = "Need";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(Need, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.ClientNeed)
+ {
+ tmp2.Name = "ClientNeed";
+ tmp2.Type = TType.I32;
+ tmp2.ID = 5;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteI32Async(ClientNeed, 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 CollectionsRewardsDataItem 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.Index == other.__isset.Index) && ((!__isset.Index) || (global::System.Object.Equals(Index, other.Index))))
+ && ((__isset.Type == other.__isset.Type) && ((!__isset.Type) || (global::System.Object.Equals(Type, other.Type))))
+ && ((__isset.Need == other.__isset.Need) && ((!__isset.Need) || (global::System.Object.Equals(Need, other.Need))))
+ && ((__isset.ClientNeed == other.__isset.ClientNeed) && ((!__isset.ClientNeed) || (global::System.Object.Equals(ClientNeed, other.ClientNeed))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if(__isset.Index)
+ {
+ hashcode = (hashcode * 397) + Index.GetHashCode();
+ }
+ if(__isset.Type)
+ {
+ hashcode = (hashcode * 397) + Type.GetHashCode();
+ }
+ if(__isset.Need)
+ {
+ hashcode = (hashcode * 397) + Need.GetHashCode();
+ }
+ if(__isset.ClientNeed)
+ {
+ hashcode = (hashcode * 397) + ClientNeed.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("CollectionsRewardsDataItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if(__isset.Index)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Index: ");
+ Index.ToString(tmp3);
+ }
+ if(__isset.Type)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Type: ");
+ Type.ToString(tmp3);
+ }
+ if(__isset.Need)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Need: ");
+ Need.ToString(tmp3);
+ }
+ if(__isset.ClientNeed)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ClientNeed: ");
+ ClientNeed.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsDataItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsDataItem.cs.meta
new file mode 100644
index 0000000..f46a613
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/CollectionsRewardsDataItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 49fe2847c62d7c84682ec34d1caa0267
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.Extensions.cs
new file mode 100644
index 0000000..e921657
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.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 ComboGiftExtensions
+ {
+ 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/ComboGift.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.Extensions.cs.meta
new file mode 100644
index 0000000..d4499fb
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 5be92f3c87344364095100376b3a8b01
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.cs
new file mode 100644
index 0000000..be98a55
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.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 ComboGift : TBase
+ {
+ private Dictionary _combogifts;
+
+ [DataMember(Order = 0)]
+ public Dictionary Combogifts
+ {
+ get
+ {
+ return _combogifts;
+ }
+ set
+ {
+ __isset.@combogifts = true;
+ this._combogifts = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @combogifts;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCombogifts()
+ {
+ return __isset.@combogifts;
+ }
+
+ #endregion XmlSerializer support
+
+ public ComboGift()
+ {
+ }
+
+ public ComboGift DeepCopy()
+ {
+ var tmp5 = new ComboGift();
+ if((Combogifts != null) && __isset.@combogifts)
+ {
+ tmp5.Combogifts = this.Combogifts.DeepCopy();
+ }
+ tmp5.__isset.@combogifts = this.__isset.@combogifts;
+ 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);
+ Combogifts = new Dictionary(_map6.Count);
+ for(int _i7 = 0; _i7 < _map6.Count; ++_i7)
+ {
+ int _key8;
+ global::Byway.Thrift.Data.ComboGiftItem _val9;
+ _key8 = await iprot.ReadI32Async(cancellationToken);
+ _val9 = new global::Byway.Thrift.Data.ComboGiftItem();
+ await _val9.ReadAsync(iprot, cancellationToken);
+ Combogifts[_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("ComboGift");
+ await oprot.WriteStructBeginAsync(tmp10, cancellationToken);
+ var tmp11 = new TField();
+ if((Combogifts != null) && __isset.@combogifts)
+ {
+ tmp11.Name = "combogifts";
+ tmp11.Type = TType.Map;
+ tmp11.ID = 1;
+ await oprot.WriteFieldBeginAsync(tmp11, cancellationToken);
+ await oprot.WriteMapBeginAsync(new TMap(TType.I32, TType.Struct, Combogifts.Count), cancellationToken);
+ foreach (int _iter12 in Combogifts.Keys)
+ {
+ await oprot.WriteI32Async(_iter12, cancellationToken);
+ await Combogifts[_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 ComboGift other)) return false;
+ if (ReferenceEquals(this, other)) return true;
+ return ((__isset.@combogifts == other.__isset.@combogifts) && ((!__isset.@combogifts) || (TCollections.Equals(Combogifts, other.Combogifts))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if((Combogifts != null) && __isset.@combogifts)
+ {
+ hashcode = (hashcode * 397) + TCollections.GetHashCode(Combogifts);
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp13 = new StringBuilder("ComboGift(");
+ int tmp14 = 0;
+ if((Combogifts != null) && __isset.@combogifts)
+ {
+ if(0 < tmp14++) { tmp13.Append(", "); }
+ tmp13.Append("Combogifts: ");
+ Combogifts.ToString(tmp13);
+ }
+ tmp13.Append(')');
+ return tmp13.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.cs.meta
new file mode 100644
index 0000000..4fada4c
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGift.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 00e1bec0505eff344a3ad6d19b882d08
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftItem.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftItem.cs
new file mode 100644
index 0000000..72ec350
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftItem.cs
@@ -0,0 +1,366 @@
+/**
+ *
+ * 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 ComboGiftItem : TBase
+ {
+ private int _Id;
+ private string _Ratio;
+ private double _Price;
+ private string _ItemReward;
+
+ [DataMember(Order = 0)]
+ public int Id
+ {
+ get
+ {
+ return _Id;
+ }
+ set
+ {
+ __isset.Id = true;
+ this._Id = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string Ratio
+ {
+ get
+ {
+ return _Ratio;
+ }
+ set
+ {
+ __isset.Ratio = true;
+ this._Ratio = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public double Price
+ {
+ get
+ {
+ return _Price;
+ }
+ set
+ {
+ __isset.Price = true;
+ this._Price = value;
+ }
+ }
+
+ [DataMember(Order = 0)]
+ public string ItemReward
+ {
+ get
+ {
+ return _ItemReward;
+ }
+ set
+ {
+ __isset.ItemReward = true;
+ this._ItemReward = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool Id;
+ [DataMember]
+ public bool Ratio;
+ [DataMember]
+ public bool Price;
+ [DataMember]
+ public bool ItemReward;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeId()
+ {
+ return __isset.Id;
+ }
+
+ public bool ShouldSerializeRatio()
+ {
+ return __isset.Ratio;
+ }
+
+ public bool ShouldSerializePrice()
+ {
+ return __isset.Price;
+ }
+
+ public bool ShouldSerializeItemReward()
+ {
+ return __isset.ItemReward;
+ }
+
+ #endregion XmlSerializer support
+
+ public ComboGiftItem()
+ {
+ }
+
+ public ComboGiftItem DeepCopy()
+ {
+ var tmp0 = new ComboGiftItem();
+ if(__isset.Id)
+ {
+ tmp0.Id = this.Id;
+ }
+ tmp0.__isset.Id = this.__isset.Id;
+ if((Ratio != null) && __isset.Ratio)
+ {
+ tmp0.Ratio = this.Ratio;
+ }
+ tmp0.__isset.Ratio = this.__isset.Ratio;
+ if(__isset.Price)
+ {
+ tmp0.Price = this.Price;
+ }
+ tmp0.__isset.Price = this.__isset.Price;
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp0.ItemReward = this.ItemReward;
+ }
+ tmp0.__isset.ItemReward = this.__isset.ItemReward;
+ 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.String)
+ {
+ Ratio = await iprot.ReadStringAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 3:
+ if (field.Type == TType.Double)
+ {
+ Price = await iprot.ReadDoubleAsync(cancellationToken);
+ }
+ else
+ {
+ await TProtocolUtil.SkipAsync(iprot, field.Type, cancellationToken);
+ }
+ break;
+ case 4:
+ if (field.Type == TType.String)
+ {
+ ItemReward = 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("ComboGiftItem");
+ 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((Ratio != null) && __isset.Ratio)
+ {
+ tmp2.Name = "Ratio";
+ tmp2.Type = TType.String;
+ tmp2.ID = 2;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(Ratio, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if(__isset.Price)
+ {
+ tmp2.Name = "Price";
+ tmp2.Type = TType.Double;
+ tmp2.ID = 3;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteDoubleAsync(Price, cancellationToken);
+ await oprot.WriteFieldEndAsync(cancellationToken);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ tmp2.Name = "ItemReward";
+ tmp2.Type = TType.String;
+ tmp2.ID = 4;
+ await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
+ await oprot.WriteStringAsync(ItemReward, 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 ComboGiftItem 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.Ratio == other.__isset.Ratio) && ((!__isset.Ratio) || (global::System.Object.Equals(Ratio, other.Ratio))))
+ && ((__isset.Price == other.__isset.Price) && ((!__isset.Price) || (global::System.Object.Equals(Price, other.Price))))
+ && ((__isset.ItemReward == other.__isset.ItemReward) && ((!__isset.ItemReward) || (global::System.Object.Equals(ItemReward, other.ItemReward))));
+ }
+
+ public override int GetHashCode() {
+ int hashcode = 157;
+ unchecked {
+ if(__isset.Id)
+ {
+ hashcode = (hashcode * 397) + Id.GetHashCode();
+ }
+ if((Ratio != null) && __isset.Ratio)
+ {
+ hashcode = (hashcode * 397) + Ratio.GetHashCode();
+ }
+ if(__isset.Price)
+ {
+ hashcode = (hashcode * 397) + Price.GetHashCode();
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ hashcode = (hashcode * 397) + ItemReward.GetHashCode();
+ }
+ }
+ return hashcode;
+ }
+
+ public override string ToString()
+ {
+ var tmp3 = new StringBuilder("ComboGiftItem(");
+ int tmp4 = 0;
+ if(__isset.Id)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Id: ");
+ Id.ToString(tmp3);
+ }
+ if((Ratio != null) && __isset.Ratio)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Ratio: ");
+ Ratio.ToString(tmp3);
+ }
+ if(__isset.Price)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("Price: ");
+ Price.ToString(tmp3);
+ }
+ if((ItemReward != null) && __isset.ItemReward)
+ {
+ if(0 < tmp4++) { tmp3.Append(", "); }
+ tmp3.Append("ItemReward: ");
+ ItemReward.ToString(tmp3);
+ }
+ tmp3.Append(')');
+ return tmp3.ToString();
+ }
+ }
+
+}
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftItem.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftItem.cs.meta
new file mode 100644
index 0000000..00f426f
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0f2e93ec86eb97e4e8da24ff260f042b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.Extensions.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.Extensions.cs
new file mode 100644
index 0000000..5d941bc
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.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 ComboGiftTwoExtensions
+ {
+ 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/ComboGiftTwo.Extensions.cs.meta b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.Extensions.cs.meta
new file mode 100644
index 0000000..069c00b
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.Extensions.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9584b20a861b022429271c14d494fd4d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.cs b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.cs
new file mode 100644
index 0000000..2ff3106
--- /dev/null
+++ b/Scripts/thrift/gen-netstd/Byway/Thrift/Data/ComboGiftTwo.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 ComboGiftTwo : TBase
+ {
+ private Dictionary _combogifttwos;
+
+ [DataMember(Order = 0)]
+ public Dictionary Combogifttwos
+ {
+ get
+ {
+ return _combogifttwos;
+ }
+ set
+ {
+ __isset.@combogifttwos = true;
+ this._combogifttwos = value;
+ }
+ }
+
+
+ [DataMember(Order = 1)]
+ public Isset __isset;
+ [DataContract]
+ public struct Isset
+ {
+ [DataMember]
+ public bool @combogifttwos;
+ }
+
+ #region XmlSerializer support
+
+ public bool ShouldSerializeCombogifttwos()
+ {
+ return __isset.@combogifttwos;
+ }
+
+ #endregion XmlSerializer support
+
+ public ComboGiftTwo()
+ {
+ }
+
+ public ComboGiftTwo DeepCopy()
+ {
+ var tmp5 = new ComboGiftTwo();
+ if((Combogifttwos != null) && __isset.@combogifttwos)
+ {
+ tmp5.Combogifttwos = this.Combogifttwos.DeepCopy();
+ }
+ tmp5.__isset.@combogifttwos = this.__isset.@combogifttwos;
+ 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);
+ Combogifttwos = new Dictionary