1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /********************************************************************************
- ** Company: YC
- ** auth: CaoTing
- ** date: 2021\5\21
- ** desc: 获取资源回调
- *******************************************************************************/
- namespace Studio.Scripts.HttpMessage
- {
- [System.Serializable]
- public class GetArtDetailCallBackMessage : BaseHttpCallBackMessage
- {
- public ArtCallBackData data;
- public GetArtDetailCallBackMessage()
- {
- messageModuleType = MessageModuleType.Set;
- _messageType = MessageType.GetDetailArtType;
- }
- }
- [System.Serializable]
- public struct ArtCallBackData
- {
- /// <summary>
- /// 主资源id
- /// </summary>
- public int id;
- public int rid;
- /// <summary>
- /// 资源id
- /// </summary>
- public string artID;
- /// <summary>
- /// 资源名称
- /// </summary>
- public string artName;
- /// <summary>
- /// 资源地址
- /// </summary>
- public string url;
- /// <summary>
- /// 资源缩略图
- /// </summary>
- public string icon;
- /// <summary>
- /// 资源类型
- /// </summary>
- public string artType;
- /// <summary>
- /// instanceType
- /// </summary>
- public string instanceType;
- /// <summary>
- /// 版本号
- /// </summary>
- public string version;
- /// <summary>
- /// 资源初始大小
- /// </summary>
- public string size;
- /// <summary>
- /// 资源初始距离
- /// </summary>
- public string distance;
- /// <summary>
- /// 容器名称
- /// </summary>
- public string containerName;
- /// <summary>
- /// 文件描述
- /// </summary>
- public string description;
- /// <summary>
- /// 是否内置
- /// </summary>
- public string builtIn;
- public string component;
- public bool immediateSyn;
- }
- }
|