优化。修复bug
This commit is contained in:
@@ -561,13 +561,13 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
}
|
||||
}else if(attachment.first == CustomMessageType_LuckyBag && attachment.second == Custom_Message_Sub_Room_Gift_LuckBag_FullScree){
|
||||
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoom == YES)return;
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoomVC == YES)return;
|
||||
[self.roomAnimation receiveLuckyGiftBigPrize:attachment];
|
||||
}else if(attachment.first == CustomMessageType_Graffiti_Star_Kitchen && attachment.second == Custom_Message_Sub_Star_Kitchen_FullScreen){
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoom == YES)return;
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoomVC == YES)return;
|
||||
[self.roomAnimation receiveRoomGraffitiStarKitchen:attachment];
|
||||
}else if(attachment.first == CustomMessageType_Look_Love && attachment.second == Custom_Message_Sub_Look_Love_InRoom_NeedAllMicSend){
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoom == YES)return;
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoomVC == YES)return;
|
||||
[self.roomAnimation receiveCandyTreeGiftHighLevle:attachment];
|
||||
}
|
||||
}
|
||||
@@ -878,7 +878,7 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
||||
- (void)receiveBroadcastGift:(AttachmentModel *)attachment {
|
||||
GiftReceiveInfoModel *giftNotifyInfo = [GiftReceiveInfoModel modelWithJSON:attachment.data];
|
||||
if (!giftNotifyInfo.ceremonyGift && giftNotifyInfo.isHomeShow == YES) {
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoom == YES)return;
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoomVC == YES)return;
|
||||
[self.roomAnimation receiveGift:giftNotifyInfo];
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user