关闭开启我的特效
This commit is contained in:
@@ -228,6 +228,7 @@
|
||||
|
||||
#pragma mark - 座驾的动画
|
||||
- (void)receiveDriveCarEnterRoom:(AttachmentModel *)attatchment {
|
||||
if (!self.delegate.getRoomInfo.hasAnimationEffect) {return;}
|
||||
NSString * effect = attatchment.data[@"effect"];
|
||||
if (effect.length <= 0) return;
|
||||
if (self.carEffectQueue.count == 0) {
|
||||
@@ -316,6 +317,7 @@
|
||||
|
||||
#pragma mark - 收到礼物展示动画
|
||||
- (void)receiveGiftHandleSendGiftAnimation:(AttachmentModel *)attachment {
|
||||
if (!self.delegate.getRoomInfo.hasAnimationEffect) {return;}
|
||||
GiftReceiveInfoModel * receiveInfo = [GiftReceiveInfoModel modelWithJSON:attachment.data];
|
||||
GiftInfoModel * giftInfo = receiveInfo.gift ? receiveInfo.gift : receiveInfo.giftInfo;
|
||||
if (attachment.second == Custom_Message_Sub_AllMicroLuckySend || attachment.second == Custom_Message_Sub_AllBatchMicroLuckySend || attachment.second == Custom_Message_Sub_Gift_LuckySend) {
|
||||
@@ -667,7 +669,6 @@
|
||||
///收到了礼物
|
||||
- (void)receiveGift:(GiftReceiveInfoModel *)receiveInfo {
|
||||
///CPU警告的时候 需要停止接收动画
|
||||
|
||||
RoomInfoModel * roomInfor = [self.delegate getRoomInfo];
|
||||
if (receiveInfo.isLuckyBagGift) {
|
||||
//如果是福袋礼物的话 就不用看他的价值了 只要有SVGA的话 就播放
|
||||
|
Reference in New Issue
Block a user