Files
peko-ios/YuMi/Modules/YMRoom/View/SendRedPacket/XPReceiveRedPacketView.h
2023-10-25 19:26:20 +08:00

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