Newer
Older
DungeonShooting / DungeonShooting_Godot / src / config / Role.cs
@lijincheng lijincheng on 3 Jun 2023 883 bytes 导表功能
  1. using System.Text.Json.Serialization;
  2. using System.Collections.Generic;
  3.  
  4. namespace Config;
  5.  
  6. public class Role
  7. {
  8. /// <summary>
  9. /// 物体唯一id <br/>
  10. /// 不需要添加类型前缀
  11. /// </summary>
  12. [JsonInclude]
  13. public string Id { get; private set; }
  14.  
  15. /// <summary>
  16. /// 222
  17. /// </summary>
  18. [JsonInclude]
  19. public string[] A { get; private set; }
  20.  
  21. /// <summary>
  22. ///
  23. /// </summary>
  24. [JsonInclude]
  25. public Dictionary<string, int> B { get; private set; }
  26.  
  27. /// <summary>
  28. ///
  29. /// </summary>
  30. [JsonInclude]
  31. public Dictionary<string, string[]>[] C { get; private set; }
  32.  
  33. /// <summary>
  34. /// 123
  35. /// </summary>
  36. [JsonInclude]
  37. public SerializeVector2 D { get; private set; }
  38.  
  39. /// <summary>
  40. ///
  41. /// </summary>
  42. [JsonInclude]
  43. public SerializeVector2[] E { get; private set; }
  44.  
  45. }