MomentData.cs
983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Collections.Generic;
/**
* 功能描述: 朋友圈数据实体类
* @author wangQc
* @date 2025/6/4 09:17
*/
[Serializable]
public class MomentList
{
//封面图url
public String cover;
//封面图url
public List<Like> likeList;
//朋友圈动态列表
public List<Moment> moments;
}
[Serializable]
public class Moment
{
public string username;
public string avatarUrl;
public string text;
//图片和视频二选一
public List<string> imageUrls;
public string video;
public string fromAndTime;
public string likeIcon;
public List<string> likes;
public List<Comment> comments;
}
[Serializable]
public class Comment
{
public string user;
public string text;
}
[Serializable]
public class Like
{
//图标
public string icon;
//弹幕文字
public string bullet;
}