1.0.19 feat:个性化房间背景-free 部分 / 首页支持 API 更新 UI

This commit is contained in:
eggmanQQQ
2024-11-05 17:09:22 +08:00
parent faacf7b22d
commit b3fee0eef9
39 changed files with 978 additions and 286 deletions

View File

@@ -348,7 +348,6 @@ XPCandyTreeInsufficientBalanceViewDelegate>
[self.presenter getRoomSuperAdmin:self.roomUid];
[XPSkillCardPlayerManager shareInstance].isInRoom = YES;
[self startCheckOnlineCountTimer];
[CountDownHelper shareHelper].delegate = self;
@@ -2044,6 +2043,12 @@ XPCandyTreeInsufficientBalanceViewDelegate>
[self.presenter getFreeGiftData];
[[NSNotificationCenter defaultCenter]postNotificationName:kFreeGiftCountdownNotification object:nil userInfo:@{@"updateGiftInfo":attachment.data ?: @""}];
}
} else if (attachment.first == CustomMessageType_Custom_Room_Background) {
if (attachment.second == Custom_Message_Sub_Custom_Room_Background) {
// TODO:
self.roomInfo.backPic = @"https://tva1.moyu.im/mw600/9f0b0dd5ly1hvacrep5fhj20jg0t60w4.jpg";
[self.backContainerView onRoomUpdate];
}
}
[self.messageContainerView handleNIMCustomMessage:message];
}