34 lines
1006 B
Objective-C
34 lines
1006 B
Objective-C
//
|
|
// XPSessionMessageGameCell.h
|
|
// xplan-ios
|
|
//
|
|
// Created by duoban on 2023/8/22.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "UserGameInfoVo.h"
|
|
#import "UserInfoModel.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class XPSessionMessageGameCell;
|
|
@protocol XPSessionMessageGameCellDelegate <NSObject>
|
|
///点击头像
|
|
- (void)xpSessionMessageGameCell:(XPSessionMessageGameCell *)cell onAvatarClick:(NSInteger)uid;
|
|
///跟随房间
|
|
- (void)xpSessionMessageGameCell:(XPSessionMessageGameCell *)cell onFollowInRoom:(NSString *)roomUid;
|
|
///下单
|
|
- (void)xpSessionMessageGameCell:(XPSessionMessageGameCell *)cell onPlaceOrder:(NSString *)uid;
|
|
///跳到游戏下单
|
|
- (void)xpSessionMessageGameCell:(XPSessionMessageGameCell *)cell chooseGame:(NSString *)uid;
|
|
@end
|
|
|
|
@interface XPSessionMessageGameCell : UICollectionViewCell
|
|
@property(nonatomic,weak) id<XPSessionMessageGameCellDelegate>delegate;
|
|
@property(nonatomic,strong) UserInfoModel *userInfo;
|
|
@property(nonatomic,strong) UserGameInfoVo *gameInfo;
|
|
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|