Files
peko-ios/YuMi/Modules/YMRoom/Protocol/XPRoomProtocol.h
2023-11-28 16:50:45 +08:00

47 lines
1.5 KiB
Objective-C

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