131 lines
5.0 KiB
Java
131 lines
5.0 KiB
Java
package com.xscm.moduleutil.bean;
|
||
|
||
import com.xscm.moduleutil.BaseEvent;
|
||
import com.xscm.moduleutil.bean.blindboxwheel.BlindBoxBean;
|
||
import com.xscm.moduleutil.bean.room.*;
|
||
|
||
import java.util.List;
|
||
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
@EqualsAndHashCode(callSuper = true)
|
||
@Data
|
||
public class RoomMessageEvent extends BaseEvent {
|
||
private int MsgType; // 消息类型,如 QXRoomMessageTypeJoin
|
||
private String RoomId; // 房间 ID
|
||
private T Text; // 携带的数据对象
|
||
|
||
public RoomMessageEvent() {
|
||
}
|
||
|
||
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;
|
||
private String pit_number;//麦位 酒吧房的情况下,这个是抱麦的number
|
||
private String jia_jia;//坐骑
|
||
private UserInfo FromUserInfo;//从me
|
||
private UserInfo ToUserInfo;// 到you
|
||
private List<UserInfo> ToUserInfos;//一键发送礼物
|
||
private GiftBean GiftInfo;
|
||
private List<GiftBean> GiftInfos;
|
||
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; //拍卖列表
|
||
private long duration;//时间
|
||
private RoomAuction.AuctionListBean recipient;//是否成功,有值的是成功的,没有值的时候,是失败的
|
||
private int type;//拍卖者,1:上麦、2:下麦 暴币的时候,1是大奖 2:是小奖 在酒吧房的时候, 0:没有选择自定义礼物 1:选择了自定义礼物
|
||
private String hot_value;
|
||
private String SendRoomId;//发起者所在的房间ID
|
||
private String AcceptRoomId;//接收者所在的房间id
|
||
private String PkId;
|
||
private String room_id;//当type==1的时候。这个roomId是对方的房间id 当是酒吧房的时候,就是需要进入的小房间的id
|
||
private String user_id = ""; //当是酒吧房的时候,这个值就是要进入小黑屋的房主信息
|
||
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
|
||
// private List<FriendInfo.HeartList> list;//交友心动值发生变化
|
||
private List<UserInfo> list;//交友房麦位发生变化 //推送的事麦上用户信息,这里使用了userinfo接收的
|
||
|
||
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;
|
||
|
||
private int online_number;//在线人数
|
||
|
||
private BlindBoxBean.XlhData xlh_data;
|
||
private String from_pit_number;
|
||
private String to_pit_number;
|
||
|
||
private int gift_num;
|
||
|
||
private RedPacketInfo redpacketInfo;
|
||
private String redpacket_id;
|
||
|
||
private EmotionDeatils emoji;
|
||
private String is_pk;//是否是pk
|
||
|
||
private SingerInfo.SongInfo song_info;
|
||
private SingerInfo.SongInfo next_song_info;
|
||
|
||
private String rights_icon;//Cp特效
|
||
|
||
private String sign_id = "-1";//签约ID
|
||
private String sign_value;//签约最高价
|
||
private String sign_day;//被签约天数
|
||
private String current_body_value;//被签约身价
|
||
|
||
private String status = "";
|
||
private String from_id = "";
|
||
|
||
private String play_image;//暴币播放动画地址
|
||
|
||
private String meet_user_id="";//当是酒吧房的时候,就是被约的用户id
|
||
|
||
}
|
||
|
||
@Data
|
||
public static class text {
|
||
private long position;
|
||
private int is_mute;
|
||
private RoomGiftData.CpType cp_type;
|
||
}
|
||
}
|
||
|