32 lines
875 B
Objective-C
32 lines
875 B
Objective-C
//
|
|
// MSRoomMenuGameView.h
|
|
// YuMi
|
|
//
|
|
// Created by duoban on 2024/4/29.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "ActivityInfoModel.h"
|
|
#import "LittleGameInfoModel.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol MSRoomMenuGameViewDelegate <NSObject>
|
|
|
|
-(void)didClickBackBtnAction;
|
|
-(void)ms_didSelectLittleGameItemAtIndexPath:(LittleGameInfoModel *)model;
|
|
-(void)ms_didSelectItemAtIndexPath:(id)model;
|
|
@end
|
|
|
|
|
|
@interface MSRoomMenuGameView : UIView
|
|
@property(nonatomic,strong) NSMutableArray *playList; // ActivityInfoModel & XPRoomMoreItemModel
|
|
@property(nonatomic,strong) NSMutableArray<LittleGameInfoModel *> *littleGameList;
|
|
@property (nonatomic, strong) NSMutableArray *dataSource;
|
|
@property(nonatomic,weak) id<MSRoomMenuGameViewDelegate>delegate;
|
|
|
|
- (void)updateDataSource:(NSArray *)playList gameList:(NSArray<LittleGameInfoModel *> *)littleGameList;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|