2025-10-20 10:16:44 +08:00
|
|
|
|
package com.xscm.moduleutil.bean;
|
|
|
|
|
|
|
2025-10-24 17:52:11 +08:00
|
|
|
|
import com.xscm.moduleutil.bean.blindboxwheel.BlindBoxBean;
|
|
|
|
|
|
import com.xscm.moduleutil.bean.room.*;
|
2025-10-20 10:16:44 +08:00
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
|
public class RoomMessageEvent {
|
|
|
|
|
|
private int MsgType; // 消息类型,如 QXRoomMessageTypeJoin
|
|
|
|
|
|
private String RoomId; // 房间 ID
|
|
|
|
|
|
private T Text; // 携带的数据对象
|
|
|
|
|
|
|
2025-10-24 17:52:11 +08:00
|
|
|
|
public RoomMessageEvent() {
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-20 10:16:44 +08:00
|
|
|
|
public RoomMessageEvent(int msgType, String roomId, T text) {
|
|
|
|
|
|
MsgType = msgType;
|
|
|
|
|
|
RoomId = roomId;
|
|
|
|
|
|
Text = text;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
|
public static class T {
|
|
|
|
|
|
private String text;
|
|
|
|
|
|
private String GiftNum;
|
2025-11-03 14:16:27 +08:00
|
|
|
|
private String pit_number;//麦位
|
|
|
|
|
|
private String jia_jia;//坐骑
|
|
|
|
|
|
private UserInfo FromUserInfo;//从me
|
|
|
|
|
|
private UserInfo ToUserInfo;// 到you
|
|
|
|
|
|
private List<UserInfo> ToUserInfos;//一键发送礼物
|
2025-10-20 10:16:44 +08:00
|
|
|
|
private GiftBean GiftInfo;
|
2025-10-24 17:52:11 +08:00
|
|
|
|
private List<GiftBean> GiftInfos;
|
2025-11-03 14:16:27 +08:00
|
|
|
|
private int room_up_pit_type;//1:上麦、0:下麦
|
|
|
|
|
|
private MusicSongBean songInfo; //正在播放歌曲信息
|
|
|
|
|
|
private MusicSongBean nextInfo; //下一首歌曲信息
|
|
|
|
|
|
private int action; //切歌
|
|
|
|
|
|
private int total; //
|
|
|
|
|
|
private RoomBean RoomInfo; //房间信息
|
|
|
|
|
|
private RoomAuction.AuctionUserBean auction_user; //拍卖信息
|
|
|
|
|
|
private List<RoomAuction.AuctionListBean> auction_list; //拍卖列表
|
2025-10-20 10:16:44 +08:00
|
|
|
|
private long duration;//时间
|
|
|
|
|
|
private RoomAuction.AuctionListBean recipient;//是否成功,有值的是成功的,没有值的时候,是失败的
|
|
|
|
|
|
private int type;//拍卖者,1:上麦、2:下麦
|
|
|
|
|
|
private String hot_value;
|
|
|
|
|
|
private String SendRoomId;//发起者所在的房间ID
|
|
|
|
|
|
private String AcceptRoomId;//接收者所在的房间id
|
|
|
|
|
|
private String PkId;
|
|
|
|
|
|
private String room_id;//当type==1的时候。这个roomId是对方的房间id
|
2025-10-24 17:52:11 +08:00
|
|
|
|
private String user_id="";
|
2025-10-20 10:16:44 +08:00
|
|
|
|
private String pk_end_times;//pk结束时间
|
|
|
|
|
|
private List<RoomPitBean> userCharmList;
|
|
|
|
|
|
|
|
|
|
|
|
private String room_id_a;//发起者房间id
|
|
|
|
|
|
private String room_id_b;//接收者房间id
|
|
|
|
|
|
private String create_value_a;//发起者房间值
|
|
|
|
|
|
private String receive_value_b;//接受者房间值
|
|
|
|
|
|
private String pk_id;
|
|
|
|
|
|
|
|
|
|
|
|
private String victory_name;//胜利的名称
|
|
|
|
|
|
private String victory_cover;//胜利的头像
|
|
|
|
|
|
private String defeated_name;//输掉的名称
|
|
|
|
|
|
private String defeated_cover;//输掉的头像
|
|
|
|
|
|
private String end_time;//惩罚时间 /// 在交友房中,是倒计时时间
|
|
|
|
|
|
private int is_mute;//1:静音对方 0:不静音对方
|
|
|
|
|
|
private int is_mute_pit;
|
|
|
|
|
|
private int count;//排麦模式下的人数
|
|
|
|
|
|
private int step ; //1:等待邂逅 2:心动连线 3:牵手良缘
|
|
|
|
|
|
private int friend_id; //场次id
|
2025-10-30 11:56:41 +08:00
|
|
|
|
// private List<FriendInfo.HeartList> list;//交友心动值发生变化
|
2025-10-20 10:16:44 +08:00
|
|
|
|
private List<UserInfo> list;//交友房麦位发生变化 //推送的事麦上用户信息,这里使用了userinfo接收的
|
|
|
|
|
|
|
2025-10-24 17:52:11 +08:00
|
|
|
|
private FriendUserBean friend_user;//这是推送过来需要卡关系的数据
|
|
|
|
|
|
|
|
|
|
|
|
private String relation_name;
|
|
|
|
|
|
private String user1_id;
|
|
|
|
|
|
private String user2_id;
|
|
|
|
|
|
private String user1_avatar;
|
|
|
|
|
|
private String user1_nickname;
|
|
|
|
|
|
private String user2_nickname;
|
|
|
|
|
|
private String user2_avatar;
|
|
|
|
|
|
private long time_day;
|
|
|
|
|
|
|
2025-10-20 10:16:44 +08:00
|
|
|
|
private int online_number;//在线人数
|
2025-10-24 17:52:11 +08:00
|
|
|
|
|
|
|
|
|
|
private BlindBoxBean.XlhData xlh_data;
|
|
|
|
|
|
private String from_pit_number;
|
|
|
|
|
|
private String to_pit_number;
|
|
|
|
|
|
|
2025-10-25 18:07:21 +08:00
|
|
|
|
private int gift_num;
|
2025-10-24 17:52:11 +08:00
|
|
|
|
|
|
|
|
|
|
private RedPacketInfo redpacketInfo;
|
|
|
|
|
|
private String redpacket_id;
|
|
|
|
|
|
|
|
|
|
|
|
private EmotionDeatils emoji;
|
2025-10-30 11:56:41 +08:00
|
|
|
|
private String is_pk;//是否是pk
|
2025-11-18 19:39:16 +08:00
|
|
|
|
|
|
|
|
|
|
private SingerInfo.SongInfo song_info;
|
|
|
|
|
|
private SingerInfo.SongInfo next_song_info;
|
2025-10-20 10:16:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
|
public static class text {
|
|
|
|
|
|
private long position;
|
|
|
|
|
|
private int is_mute;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|