Files
yinmeng-ios/xplan-ios/Main/Message/View/Session/XPSessionMessageGameCell.h

34 lines
1006 B
C
Raw Normal View History

2023-08-24 17:03:32 +08:00
//
// 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;
2023-08-28 18:55:29 +08:00
///跳到游戏下单
- (void)xpSessionMessageGameCell:(XPSessionMessageGameCell *)cell chooseGame:(NSString *)uid;
2023-08-24 17:03:32 +08:00
@end
@interface XPSessionMessageGameCell : UICollectionViewCell
@property(nonatomic,weak) id<XPSessionMessageGameCellDelegate>delegate;
@property(nonatomic,strong) UserInfoModel *userInfo;
@property(nonatomic,strong) UserGameInfoVo *gameInfo;
2023-08-28 18:55:29 +08:00
2023-08-24 17:03:32 +08:00
@end
NS_ASSUME_NONNULL_END