Files
yinmeng-ios/xplan-ios/Main/ModuleKit/SendGiftView/Protocol/XPGiftProtocol.h
2023-01-04 14:14:33 +08:00

39 lines
1.3 KiB
Objective-C

//
// XPGiftProtocol.h
// xplan-ios
//
// Created by 冯硕 on 2021/11/9.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class WalletInfoModel, GiftInfoModel, GiftReceiveInfoModel, UserInfoModel, GiftTwelveStarFirstModel;
@protocol XPGiftProtocol <NSObject>
///获取用户信息成功
- (void)onGetUserInfoSuccess:(UserInfoModel *)userInfo;
///获取用户钱包信息成功
- (void)getUserWalletInfo:(WalletInfoModel *)balanceInfo;
///获取普通礼物列表
- (void)getNormalGiftListSuccess:(NSArray<GiftInfoModel *> *)giftList;
///获取普通礼物列表失败
- (void)getNormalGiftListFail:(NSString *)message;
///获取背包礼物列表
- (void)getPacketGiftListSuccess:(NSArray<GiftInfoModel *> *)giftList;
///获取背包礼物列表失败
- (void)getPacketGiftListFail:(NSString *)message;
///送礼物成功
- (void)sendGiftSuccess:(GiftReceiveInfoModel *)receiveInfo originDic:(NSDictionary *)originDic uidCount:(NSInteger)uidCount;
///送礼物失败
- (void)sendGiftFailWithCode:(NSInteger)code msg:(NSString *)msg;
///获取全服福袋礼物记录
- (void)luckyGiftBroadcastRecordSuccess:(NSArray *)records;
///获取周星礼物成功
- (void)getTwelveStarLastRankFirstSuccess:(GiftTwelveStarFirstModel *)model;
@end
NS_ASSUME_NONNULL_END