OtherRoleInfoData.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System.Collections.Generic;
  2. namespace GFGGame
  3. {
  4. public class OtherRoleInfoData//其他玩家摘要信息
  5. {
  6. public long roleId;//机器人为0
  7. public string roleName;
  8. public int roleLv;
  9. public int headId;//头像
  10. public int headBorderId;//头像框
  11. public string headRes = "";//头像资源,机器人用
  12. private long _offlineTimeSec = 0;
  13. public long offlineTimeSec
  14. {
  15. get
  16. {
  17. return _offlineTimeSec * 1000;
  18. }
  19. set
  20. {
  21. _offlineTimeSec = value;
  22. }
  23. }//离线时间戳,单位毫秒,0表示在线
  24. public string leagueName;
  25. public List<int> itemList = new List<int>();
  26. public int suitCollect;
  27. public int cardCollect;
  28. public int achievementTaskCollect;
  29. public long roleExp;
  30. }
  31. public class OtherRoleInfoDetailData//其他玩家详细信息
  32. {
  33. public OtherRoleInfoData roleInfo;
  34. public string slogan;//个性签名
  35. public CustomSuitData customSuitData; //当前搭配套装
  36. public string SuitCollectPer = "0%"; //套装收集度
  37. public List<PoemPhotoData> showPhotoList = new List<PoemPhotoData>();//会返回固定四个图片信息,未展示则为null
  38. }
  39. }