Files
real-e-party-iOS/YuMi/Modules/YMRoom/Protocol/XPRoomProtocol.h
edwinQQQ a35a711be6 chore: Initial clean commit
- Removed YuMi/Library/ (138 MB, not tracked)
- Removed YuMi/Resources/ (23 MB, not tracked)
- Removed old version assets (566 files, not tracked)
- Excluded Pods/, xcuserdata/ and other build artifacts
- Clean repository optimized for company server deployment
2025-10-09 16:19:14 +08:00

55 lines
1.7 KiB
Objective-C

//
// YMRoomProtocol.h
// YUMI
//
// Created by YUMI on 2021/10/18.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class RoomInfoModel, UserInfoModel, NIMChatroom, FirstChargeRoomWindowModel, XPRedPacketModel, BoomInfoModel, BoomDetailModel, MicCpInfoModel;
@protocol XPRoomProtocol <NSObject>
- (void)initEnterRoomSuccess:(RoomInfoModel *)roomInfo user:(UserInfoModel *)userInfo;
///开启房间成功
- (void)openRoomSuccess:(RoomInfoModel *)roomInfo;
///进入房间成功
- (void)enterRoomSuccess:(NIMChatroom *)chatRoom;
///进入房间失败(当前获取用户信息、获取房间信息、开启房间、进入云信房间失败,均会导致进房失败)
- (void)enterRoomFail:(NSInteger)code;
///获取超管成功
- (void)getRoomSuperAdminSuccess:(NSArray *)list;
///获取下一个个播房成功
- (void)getNextAnchorRoomSuccess:(RoomInfoModel * _Nullable)roomInfo;
///获取当前房间的信息
- (void)getCurrentRoomInfoSuccess:(RoomInfoModel * _Nullable)roomInfo;
///获取红包成功
- (void)getRedPacketSuccess:(NSArray *)list;
///获取红包成功
- (void)getRedPacketInfoSuccess:(XPRedPacketModel *)redInfo;
///屏蔽
-(void)requestShieldingSuccess;
///获取免费礼物成功
-(void)getFreeGiftDataSuccess:(XPFreeGiftModel *)freeModel;
///获取已解锁照片id列表
-(void)getUnlockRoomAlbumPhotoListSuccessWithList:(NSArray *)list;
///获取踢人房间列表
-(void)getKickUserListSuccessWithList:(NSArray *)list;
- (void)getRoomBoomInfoSuccess:(NSArray <BoomDetailModel*> *)models;
- (void)getRoomBoomExplosionSuccess:(BoomInfoModel *)model;
- (void)getMicCpListByRoomUidSuccess:(NSArray <MicCpInfoModel *> *)cpList;
- (void)getMicCpListByUidListSuccess:(NSArray <MicCpInfoModel *> *)cpList;
@end
NS_ASSUME_NONNULL_END