UnlockConfig.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. // Auto Generated Code By excel2json
  2. // Generate From Excel\Unlock.xlsx. SheetName: UnlockConfig
  3. using System;
  4. using Fort23.GameData;
  5. namespace Excel2Json
  6. {
  7. [Config(prefab = "UnlockConfig.json")]
  8. public partial class UnlockConfigHolder : ConfigHolder<UnlockConfig> {
  9. }
  10. [Serializable]
  11. public struct UnlockConfig : IConfig {
  12. public int GetID() {return ID;}
  13. /// <summary>
  14. ///序列
  15. /// </summary>
  16. #if !COMBAT_SERVER
  17. public int ID;
  18. #else
  19. public int ID{ set; get; }
  20. #endif
  21. /// <summary>
  22. ///解锁功能 见解锁功能查询
  23. /// </summary>
  24. #if !COMBAT_SERVER
  25. public int ulockFunction;
  26. #else
  27. public int ulockFunction{ set; get; }
  28. #endif
  29. /// <summary>
  30. ///解锁方式 1=飞艇等级解锁 2=主线关卡ID解锁(MainStageNewConfig) 4=试炼之地关卡ID解锁 5=主线章节ID
  31. /// </summary>
  32. #if !COMBAT_SERVER
  33. public int ulockCondition;
  34. #else
  35. public int ulockCondition{ set; get; }
  36. #endif
  37. /// <summary>
  38. ///ulockCondition=1,代表飞艇等级 ulockCondition=2,MainStageNewConfig_ID(到达) ulockCondition=4,TowerLevelConfig_ID ulockCondition=5,ChapterConfig_ID
  39. /// </summary>
  40. #if !COMBAT_SERVER
  41. public int ulockValue;
  42. #else
  43. public int ulockValue{ set; get; }
  44. #endif
  45. /// <summary>
  46. ///功能参数
  47. /// </summary>
  48. #if !COMBAT_SERVER
  49. public int functionValue;
  50. #else
  51. public int functionValue{ set; get; }
  52. #endif
  53. /// <summary>
  54. ///未解锁前对应入口的展现形式 1、看不见 2、置灰
  55. /// </summary>
  56. #if !COMBAT_SERVER
  57. public int lockType;
  58. #else
  59. public int lockType{ set; get; }
  60. #endif
  61. /// <summary>
  62. ///新手引导ID
  63. /// </summary>
  64. #if !COMBAT_SERVER
  65. public int PlayerGuideID;
  66. #else
  67. public int PlayerGuideID{ set; get; }
  68. #endif
  69. /// <summary>
  70. ///进入特定界面时再判断是否触发引导 -1=任何界面都触发
  71. /// </summary>
  72. #if !COMBAT_SERVER
  73. public int[] GuidebyUI;
  74. #else
  75. public int[] GuidebyUI{ set; get; }
  76. #endif
  77. /// <summary>
  78. ///未解锁时点击的提示语言表ID {0}取ulockValue
  79. /// </summary>
  80. #if !COMBAT_SERVER
  81. public int UnlockTipsID;
  82. #else
  83. public int UnlockTipsID{ set; get; }
  84. #endif
  85. }
  86. }
  87. // End of Auto Generated Code