34 lines
825 B
Objective-C
34 lines
825 B
Objective-C
//
|
|
// YMReceiveRedPacketView.h
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2022/9/2.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "XPRedPacketModel.h"
|
|
@protocol XPReceiveRedPacketViewDelegate <NSObject>
|
|
|
|
-(void)openRedPacketWithType:(RedPacketConditionsType)type uid:(NSString *_Nonnull)uid roomUid:(NSString *_Nonnull)roomUid;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class XPReceiveRedPacketModel, XPRedPacketModel;
|
|
@interface XPReceiveRedPacketView : UIView
|
|
|
|
///是否在全服红包的房间内
|
|
@property (nonatomic, assign) BOOL inAllPacketRoom;
|
|
///红包信息
|
|
@property (nonatomic, strong) XPReceiveRedPacketModel *redPacketModel;
|
|
|
|
@property (nonatomic, strong) XPRedPacketModel *receiveModel;
|
|
|
|
@property (nonatomic, strong) UIView *alphaView;
|
|
@property(nonatomic,weak) id<XPReceiveRedPacketViewDelegate>delegate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|