新增 Turbo Mode 功能,包含相关的 Action 类、常量和视图控制器,优化房间更多菜单的功能扩展性。同时,更新通知逻辑以支持 Turbo Mode 开关状态的管理,提升代码可维护性和用户体验。
This commit is contained in:
@@ -11,26 +11,12 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@class RoomInfoModel;
|
||||
@interface XPMoreMenuPresenter : BaseMvpPresenter
|
||||
|
||||
///获取更多菜单
|
||||
- (void)getMoreMenuDataSourceWithNewArchitecture:(RoomInfoModel *)roomInfo
|
||||
isSuperAdmin:(BOOL)isSuperAdmin
|
||||
isOnMic:(BOOL)isOnMic
|
||||
isAppSuperAdmin:(BOOL)isAppSuperAdmin;
|
||||
|
||||
///获取更多菜单
|
||||
- (void)getMoreMenuDataSource:(RoomInfoModel *)roomInfo isSuperAdmin:(BOOL)isSuperAdmin isOnMic:(BOOL)isOnMic isAppSuperAdmin:(BOOL)isAppSuperAdmin;
|
||||
|
||||
/// 开启房间礼物值
|
||||
/// @param roomUid 房间的uid
|
||||
- (void)openRoomGiftValue:(NSString *)roomUid;
|
||||
|
||||
/// 关闭房间礼物值
|
||||
/// @param roomUid 房间的uid
|
||||
- (void)closeRoomGiftValue:(NSString *)roomUid;
|
||||
|
||||
/// 更新公屏状态
|
||||
/// @param isCloseScreen 是否关闭公屏
|
||||
/// @param roomId 房间的id
|
||||
- (void)updateRoomMessageScreenState:(BOOL)isCloseScreen roomId:(NSString *)roomId;
|
||||
|
||||
/// 开启相亲模式
|
||||
/// @param roomUid 房主的uid
|
||||
@@ -43,8 +29,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
///获取房间广播模板内容
|
||||
/// @param type 房间类型
|
||||
- (void)getRoomRadioMessageListWithType:(NSString *)type;
|
||||
|
||||
/// 获取房间VIP小喇叭信息
|
||||
- (void)getRoomgetUserVipRoomTrumpet:(NSString *)roomUid;
|
||||
|
||||
///结束个播跨房PK
|
||||
- (void)requestFinishAnchorPK:(NSString *)roundId;
|
||||
|
||||
|
Reference in New Issue
Block a user