DropItemConfig.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // Auto Generated Code By excel2json
  2. // Generate From Excel\ChouKa.xlsx. SheetName: DropItemConfig
  3. using System;
  4. using Fort23.GameData;
  5. namespace Excel2Json
  6. {
  7. [Config(prefab = "DropItemConfig.json")]
  8. public partial class DropItemConfigHolder : ConfigHolder<DropItemConfig> {
  9. }
  10. [Serializable]
  11. public struct DropItemConfig : 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. ///道具类型 1=道具 2=装备稀有度 3=装备等级 4=完整装备(品质和等级随机) 5=完整装备,品质固定(等级随机)
  23. /// </summary>
  24. #if !COMBAT_SERVER
  25. public int dropItemType;
  26. #else
  27. public int dropItemType{ 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 dropMinV;
  42. #else
  43. public int dropMinV{ set; get; }
  44. #endif
  45. /// <summary>
  46. ///掉落最大数量
  47. /// </summary>
  48. #if !COMBAT_SERVER
  49. public int dropMaxV;
  50. #else
  51. public int dropMaxV{ set; get; }
  52. #endif
  53. /// <summary>
  54. ///掉落数量使用哪种分布方式 对应DropCountConfig的GroupID 默认-1,平均分布
  55. /// </summary>
  56. #if !COMBAT_SERVER
  57. public int dropCountGoupID;
  58. #else
  59. public int dropCountGoupID{ set; get; }
  60. #endif
  61. }
  62. }
  63. // End of Auto Generated Code