GetArtDetailCallBackMessage.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. /********************************************************************************
  5. ** Company: YC
  6. ** auth: CaoTing
  7. ** date: 2021\5\21
  8. ** desc: 获取资源回调
  9. *******************************************************************************/
  10. namespace Studio.Scripts.HttpMessage
  11. {
  12. [System.Serializable]
  13. public class GetArtDetailCallBackMessage : BaseHttpCallBackMessage
  14. {
  15. public ArtCallBackData data;
  16. public GetArtDetailCallBackMessage()
  17. {
  18. messageModuleType = MessageModuleType.Set;
  19. _messageType = MessageType.GetDetailArtType;
  20. }
  21. }
  22. [System.Serializable]
  23. public struct ArtCallBackData
  24. {
  25. /// <summary>
  26. /// 主资源id
  27. /// </summary>
  28. public int id;
  29. public int rid;
  30. /// <summary>
  31. /// 资源id
  32. /// </summary>
  33. public string artID;
  34. /// <summary>
  35. /// 资源名称
  36. /// </summary>
  37. public string artName;
  38. /// <summary>
  39. /// 资源地址
  40. /// </summary>
  41. public string url;
  42. /// <summary>
  43. /// 资源缩略图
  44. /// </summary>
  45. public string icon;
  46. /// <summary>
  47. /// 资源类型
  48. /// </summary>
  49. public string artType;
  50. /// <summary>
  51. /// instanceType
  52. /// </summary>
  53. public string instanceType;
  54. /// <summary>
  55. /// 版本号
  56. /// </summary>
  57. public string version;
  58. /// <summary>
  59. /// 资源初始大小
  60. /// </summary>
  61. public string size;
  62. /// <summary>
  63. /// 资源初始距离
  64. /// </summary>
  65. public string distance;
  66. /// <summary>
  67. /// 容器名称
  68. /// </summary>
  69. public string containerName;
  70. /// <summary>
  71. /// 文件描述
  72. /// </summary>
  73. public string description;
  74. /// <summary>
  75. /// 是否内置
  76. /// </summary>
  77. public string builtIn;
  78. public string component;
  79. public bool immediateSyn;
  80. }
  81. }