47 lines
1.1 KiB
Objective-C
47 lines
1.1 KiB
Objective-C
//
|
|
// XPGiftPresenter.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2021/11/9.
|
|
//
|
|
|
|
#import "BaseMvpPresenter.h"
|
|
#import "GiftInfoModel.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface XPGiftPresenter : NSObject
|
|
|
|
- (void)attatchView:(id)view;
|
|
|
|
- (id)getView;
|
|
|
|
/// 获取用户钱包信息
|
|
- (void)getUserWallInfo;
|
|
/// 获取普通的礼物
|
|
/// @param roomUid 房主的uid 获取房间专属礼物
|
|
- (void)getNormalGiftList:(NSString *)roomUid;
|
|
/// 获取背包礼物
|
|
- (void)getPackGiftList;
|
|
/// 送礼物
|
|
/// @param targetUids 送礼物的人
|
|
/// @param giftNum 礼物的个数
|
|
/// @param sendType 送的类型
|
|
/// @param giftId 送礼物的id
|
|
/// @param giftSource 送礼物的来源
|
|
/// @param giftType 礼物的类型
|
|
/// @param roomSendType 赠送的类型
|
|
/// @param roomUid 房主的uid
|
|
/// @param msg 喊话的内容
|
|
- (void)sendGift:(NSString *)targetUids
|
|
giftNum:(NSString *)giftNum
|
|
sendType:(GiftSendType)sendType
|
|
giftId:(NSString *)giftId
|
|
giftSource:(GiftSourceType)giftSource
|
|
giftType:(GiftType)giftType
|
|
roomSendType:(RoomSendGiftType)roomSendType
|
|
roomUid:(NSString *)roomUid
|
|
msg:(NSString *)msg;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|