显示 消息页 "发现萌新" 入口, 房间PK入口

This commit is contained in:
wzq
2023-09-27 11:26:08 +08:00
parent b57622ad42
commit cb89eccf23

View File

@@ -104,6 +104,8 @@ import com.yizhuan.xchat_android_core.im.custom.bean.RoomFreeGiftAttachment;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomFreeGiftMsgBean;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomGiftValueAttachment;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomInfoAttachment;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomLuckySeaAttachment;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomLuckySeaMsgBean;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomPKAttachment;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomPkBean;
import com.yizhuan.xchat_android_core.im.custom.bean.RoomTipAttachment;
@@ -1319,12 +1321,17 @@ public final class IMNetEaseManager {
}
break;
case CUSTOM_MSG_LUCKY_SEA:
RoomLuckySeaAttachment luckySeaAttachment = (RoomLuckySeaAttachment) msg.getAttachment();
RoomLuckySeaMsgBean roomLuckySeaMsgInfo = luckySeaAttachment.getRoomLuckySeaMsgInfo();
if (second == CUSTOM_MSG_LUCKY_SEA_GIFT_ROOM_NOTIFY) {
addMessages(msg);
noticeRoomEvent(msg, RoomEvent.LUCKY_SEA_GIFT_ROOM_NOTIFY);
if (roomLuckySeaMsgInfo.getRoomUid() == AvRoomDataManager.get().getRoomUid()) {
addMessages(msg);
}
} else if (second == CUSTOM_MSG_LUCKY_SEA_GIFT_SERVER_NOTIFY) {
addMessages(msg);
noticeRoomEvent(msg, RoomEvent.LUCKY_SEA_GIFT_SERVER_NOTIFY);
if (roomLuckySeaMsgInfo.getRoomUid() == AvRoomDataManager.get().getRoomUid()) {
noticeRoomEvent(msg, RoomEvent.LUCKY_SEA_GIFT_SERVER_NOTIFY);
}
}
break;
case ROOM_FREE_GIFT: