GetAvatarListCallBackMessage.cs 976 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using System;
  5. /********************************************************************************
  6. ** Company: YC
  7. ** auth: CaoTing
  8. ** date: 2021\5\19
  9. ** desc: 获取头像列表返回信息
  10. *******************************************************************************/
  11. namespace Studio.Scripts.HttpMessage
  12. {
  13. [Serializable]
  14. public class GetAvatarListCallBackMessage : BaseHttpCallBackMessage
  15. {
  16. public GetAvatarListCallBackData data;
  17. public GetAvatarListCallBackMessage()
  18. {
  19. messageModuleType = MessageModuleType.Login;
  20. _messageType = MessageType.GetAvatarType;
  21. }
  22. }
  23. [Serializable]
  24. public struct GetAvatarListCallBackData : ICallData
  25. {
  26. public List<AvatarData> avatar;
  27. }
  28. [Serializable]
  29. public struct AvatarData
  30. {
  31. public int id;
  32. public string url;
  33. }
  34. }