Files
featherVoice/QXLive/HomePage(声播)/View/房间/PK/QXRoomPKResultView.h
2025-08-08 10:49:36 +08:00

35 lines
787 B
Objective-C

//
// QXRoomPKResultView.h
// QXLive
//
// Created by 启星 on 2025/7/3.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger) {
/// pk胜利
QXRoomPKResulttTypeVictory = 0,
/// pk失败
QXRoomPKResulttTypeDefeated,
/// 平局
QXRoomPKResulttTypeTie,
}QXRoomPKResulttType;
NS_ASSUME_NONNULL_BEGIN
@interface QXRoomPKResultView : UIView
-(instancetype)initWithType:(QXRoomPKResulttType)type;
@property (nonatomic,assign)QXRoomPKResulttType type;
-(void)setResultWithVictory_name:(NSString*)victory_name
victory_cover:(NSString*)victory_cover
defeated_name:(NSString*)defeated_name
defeated_cover:(NSString*)defeated_cover;
-(void)showInView:(UIView *)view;
-(void)hide;
@end
NS_ASSUME_NONNULL_END