
1. 移除旧游戏入口,增加新游戏入口 2. GameMenuView 增加同时支持玩法和小游戏 3. 增加房间类型的判断 4. 补充提示文本,部份未作多语言化,需要核对 优化: 1. 修正部分不正确的单词 2. 优化部份 API 的调用时机
29 lines
723 B
Objective-C
29 lines
723 B
Objective-C
//
|
|
// PIRoomEnterRedPacketView.h
|
|
// YuMi
|
|
//
|
|
// Created by duoban on 2023/10/20.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "XPRedPacketModel.h"
|
|
#import "RoomInfoModel.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol PIRoomEnterRedPacketViewDelegate <NSObject>
|
|
|
|
-(void)openRedPacketWithModel:(XPRedPacketModel *_Nullable)redModel;
|
|
|
|
@end
|
|
|
|
@interface PIRoomEnterRedPacketView : UIView
|
|
@property(nonatomic,assign) BOOL isInRoom;
|
|
@property(nonatomic,weak) id<PIRoomEnterRedPacketViewDelegate>delegate;
|
|
@property(nonatomic,strong) NSMutableArray *redPacketList;
|
|
@property(nonatomic,copy) NSString *pi_redNum;
|
|
@property(nonatomic,strong) XPRedPacketModel *redPacketModel;
|
|
@property(nonatomic , assign) RoomType type;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|