ShopItemConfig.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. // Auto Generated Code By excel2json
  2. // Generate From Excel\Shop.xlsx. SheetName: ShopItemConfig
  3. using System;
  4. using Fort23.GameData;
  5. namespace Excel2Json
  6. {
  7. [Config(prefab = "ShopItemConfig.json")]
  8. public partial class ShopItemConfigHolder : ConfigHolder<ShopItemConfig> {
  9. }
  10. [Serializable]
  11. public struct ShopItemConfig : IConfig {
  12. public int GetID() {return ID;}
  13. /// <summary>
  14. ///ID
  15. /// </summary>
  16. #if !COMBAT_SERVER
  17. public int ID;
  18. #else
  19. public int ID{ set; get; }
  20. #endif
  21. /// <summary>
  22. ///分发ID (appstore等分发礼包时使用)
  23. /// </summary>
  24. #if !COMBAT_SERVER
  25. public string giftID;
  26. #else
  27. public string giftID{ set; get; }
  28. #endif
  29. /// <summary>
  30. ///包含道具ID
  31. /// </summary>
  32. #if !COMBAT_SERVER
  33. public int[] itemId;
  34. #else
  35. public int[] itemId{ set; get; }
  36. #endif
  37. /// <summary>
  38. ///道具数量
  39. /// </summary>
  40. #if !COMBAT_SERVER
  41. public int[] itemCount;
  42. #else
  43. public int[] itemCount{ set; get; }
  44. #endif
  45. /// <summary>
  46. ///消耗道具ID 0 = 免费 1032 = 广告
  47. /// </summary>
  48. #if !COMBAT_SERVER
  49. public int costItemId;
  50. #else
  51. public int costItemId{ set; get; }
  52. #endif
  53. /// <summary>
  54. ///现价 (玩家购买价)
  55. /// </summary>
  56. #if !COMBAT_SERVER
  57. public int price;
  58. #else
  59. public int price{ set; get; }
  60. #endif
  61. /// <summary>
  62. ///原价
  63. /// </summary>
  64. #if !COMBAT_SERVER
  65. public int oldPrice;
  66. #else
  67. public int oldPrice{ set; get; }
  68. #endif
  69. /// <summary>
  70. ///可买次数 (当期) -1=不限制
  71. /// </summary>
  72. #if !COMBAT_SERVER
  73. public int buyCount;
  74. #else
  75. public int buyCount{ set; get; }
  76. #endif
  77. /// <summary>
  78. ///最大购买次数 (全局) -1=不限制
  79. /// </summary>
  80. #if !COMBAT_SERVER
  81. public int maxBuyCount;
  82. #else
  83. public int maxBuyCount{ set; get; }
  84. #endif
  85. /// <summary>
  86. ///商品所属分页 (shopConfig中ID)
  87. /// </summary>
  88. #if !COMBAT_SERVER
  89. public int shopItemGroup;
  90. #else
  91. public int shopItemGroup{ set; get; }
  92. #endif
  93. /// <summary>
  94. ///持续时间(分钟) (-1永久)
  95. /// </summary>
  96. #if !COMBAT_SERVER
  97. public int continueTime;
  98. #else
  99. public int continueTime{ set; get; }
  100. #endif
  101. /// <summary>
  102. ///品名
  103. /// </summary>
  104. #if !COMBAT_SERVER
  105. public int shopName;
  106. #else
  107. public int shopName{ set; get; }
  108. #endif
  109. /// <summary>
  110. ///商品介绍
  111. /// </summary>
  112. #if !COMBAT_SERVER
  113. public int shopDesc;
  114. #else
  115. public int shopDesc{ set; get; }
  116. #endif
  117. /// <summary>
  118. ///商品表现的模板
  119. /// </summary>
  120. #if !COMBAT_SERVER
  121. public int shopShowTemplate;
  122. #else
  123. public int shopShowTemplate{ set; get; }
  124. #endif
  125. /// <summary>
  126. ///商品表现的模板de参数
  127. /// </summary>
  128. #if !COMBAT_SERVER
  129. public string[] shopShowTemplateParm;
  130. #else
  131. public string[] shopShowTemplateParm{ set; get; }
  132. #endif
  133. }
  134. }
  135. // End of Auto Generated Code