EventNPC.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // Auto Generated Code By excel2json
  2. // Generate From Excel\EventConfig.xlsx. SheetName: EventNPC
  3. using System;
  4. using Fort23.GameData;
  5. namespace Excel2Json
  6. {
  7. [Config(prefab = "EventNPC.json")]
  8. public partial class EventNPCHolder : ConfigHolder<EventNPC> {
  9. }
  10. [Serializable]
  11. public struct EventNPC : 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. ///名字
  23. /// </summary>
  24. #if !COMBAT_SERVER
  25. public int name;
  26. #else
  27. public int name{ set; get; }
  28. #endif
  29. /// <summary>
  30. ///不是npc直接显示背景
  31. /// </summary>
  32. #if !COMBAT_SERVER
  33. public bool isNpc;
  34. #else
  35. public bool isNpc{ set; get; }
  36. #endif
  37. /// <summary>
  38. ///半身像icon
  39. /// </summary>
  40. #if !COMBAT_SERVER
  41. public string icon;
  42. #else
  43. public string icon{ set; get; }
  44. #endif
  45. /// <summary>
  46. ///道友ID
  47. /// </summary>
  48. #if !COMBAT_SERVER
  49. public int DaoyouID;
  50. #else
  51. public int DaoyouID{ set; get; }
  52. #endif
  53. }
  54. }
  55. // End of Auto Generated Code