Files
peko-ios/YuMi/Modules/YMRoom/View/MoreView/Action/XPPKAction.h

55 lines
1.2 KiB
Objective-C

//
// XPPKAction.h
// YUMI
//
// Created by YUMI on 2024/01/01.
//
#import "XPRoomMoreMenuAction.h"
@class RoomInfoModel;
NS_ASSUME_NONNULL_BEGIN
@interface XPPKAction : XPRoomMoreMenuAction
// MARK: - 同房PK模式
/// 开启同房PK模式
+ (instancetype)roomPKOpenAction;
/// 关闭同房PK模式
+ (instancetype)roomPKCloseAction;
// MARK: - 跨房PK
/// 开启跨房PK
+ (instancetype)acrossRoomPKOpenAction;
/// 关闭跨房PK
+ (instancetype)acrossRoomPKCloseAction;
// MARK: - 主播PK
/// 开启主播PK
+ (instancetype)anchorPKOpenAction;
/// 关闭主播PK
+ (instancetype)anchorPKCloseAction;
// MARK: - 相亲模式
/// 开启相亲模式
+ (instancetype)datingOpenAction;
/// 关闭相亲模式
+ (instancetype)datingCloseAction;
// MARK: - 根据房间信息创建对应的Action
/// 根据房间信息创建对应的PK Action
/// @param roomInfo 房间信息
+ (instancetype)roomPKActionWithRoomInfo:(RoomInfoModel *)roomInfo;
+ (instancetype)corssPKActionWithRoomInfo:(RoomInfoModel *)roomInfo;
+ (instancetype)anchorPKActionWithRoomInfo:(RoomInfoModel *)roomInfo;
+ (instancetype)blindActionWithRoomInfo:(RoomInfoModel *)roomInfo;
@end
NS_ASSUME_NONNULL_END