显示 消息页 "发现萌新" 入口, 房间PK入口
This commit is contained in:
@@ -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.RoomFreeGiftMsgBean;
|
||||||
import com.yizhuan.xchat_android_core.im.custom.bean.RoomGiftValueAttachment;
|
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.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.RoomPKAttachment;
|
||||||
import com.yizhuan.xchat_android_core.im.custom.bean.RoomPkBean;
|
import com.yizhuan.xchat_android_core.im.custom.bean.RoomPkBean;
|
||||||
import com.yizhuan.xchat_android_core.im.custom.bean.RoomTipAttachment;
|
import com.yizhuan.xchat_android_core.im.custom.bean.RoomTipAttachment;
|
||||||
@@ -1319,12 +1321,17 @@ public final class IMNetEaseManager {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CUSTOM_MSG_LUCKY_SEA:
|
case CUSTOM_MSG_LUCKY_SEA:
|
||||||
|
RoomLuckySeaAttachment luckySeaAttachment = (RoomLuckySeaAttachment) msg.getAttachment();
|
||||||
|
RoomLuckySeaMsgBean roomLuckySeaMsgInfo = luckySeaAttachment.getRoomLuckySeaMsgInfo();
|
||||||
if (second == CUSTOM_MSG_LUCKY_SEA_GIFT_ROOM_NOTIFY) {
|
if (second == CUSTOM_MSG_LUCKY_SEA_GIFT_ROOM_NOTIFY) {
|
||||||
addMessages(msg);
|
if (roomLuckySeaMsgInfo.getRoomUid() == AvRoomDataManager.get().getRoomUid()) {
|
||||||
noticeRoomEvent(msg, RoomEvent.LUCKY_SEA_GIFT_ROOM_NOTIFY);
|
addMessages(msg);
|
||||||
|
}
|
||||||
} else if (second == CUSTOM_MSG_LUCKY_SEA_GIFT_SERVER_NOTIFY) {
|
} else if (second == CUSTOM_MSG_LUCKY_SEA_GIFT_SERVER_NOTIFY) {
|
||||||
addMessages(msg);
|
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;
|
break;
|
||||||
case ROOM_FREE_GIFT:
|
case ROOM_FREE_GIFT:
|
||||||
|
Reference in New Issue
Block a user