EventLinkConfig.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // Auto Generated Code By excel2json
  2. // Generate From Excel\EventConfig.xlsx. SheetName: EventLinkConfig
  3. using System;
  4. using Fort23.GameData;
  5. namespace Excel2Json
  6. {
  7. [Config(prefab = "EventLinkConfig.json")]
  8. public partial class EventLinkConfigHolder : ConfigHolder<EventLinkConfig> {
  9. }
  10. [Serializable]
  11. public struct EventLinkConfig : IConfig {
  12. public int GetID() {return ID;}
  13. /// <summary>
  14. ///条件ID
  15. /// </summary>
  16. public int ID;
  17. /// <summary>
  18. ///事件描述
  19. /// </summary>
  20. public int conciseEventMessage;
  21. /// <summary>
  22. ///文本语言表ID
  23. /// </summary>
  24. public int[] LanID;
  25. /// <summary>
  26. ///条件判断类型
  27. /// </summary>
  28. public int ConditionType;
  29. /// <summary>
  30. ///条件判断值
  31. /// </summary>
  32. public int[] ConditionPara;
  33. /// <summary>
  34. ///条件完成次数or数量
  35. /// </summary>
  36. public int finishCount;
  37. /// <summary>
  38. ///步骤类型 1=提供选项 2=进入战斗 3=获得奖励
  39. /// </summary>
  40. public int optionType;
  41. /// <summary>
  42. ///事件常量1 1=事件IDs 2=战斗ID 3= 4=eventConfigID
  43. /// </summary>
  44. public int[] optionPara1;
  45. /// <summary>
  46. ///事件常量2 1=事件文本 2= 3=
  47. /// </summary>
  48. public int[] optionPara2;
  49. /// <summary>
  50. ///事件结局奖励
  51. /// </summary>
  52. public int[] PrizeIDs;
  53. /// <summary>
  54. ///事件结局奖励数量
  55. /// </summary>
  56. public int[] PrizeNums;
  57. /// <summary>
  58. ///事件结束类型 1:跳转步骤 2:根据战斗结果跳转步骤 3.触发新事件
  59. /// </summary>
  60. public int ResultType;
  61. /// <summary>
  62. ///事件结局后提供的选项 1.EventConditionId 2.胜利id;失败id 3.EventConfigId
  63. /// </summary>
  64. public int[] ResultOptions;
  65. }
  66. }
  67. // End of Auto Generated Code