43 lines
1.3 KiB
Objective-C
43 lines
1.3 KiB
Objective-C
//
|
|
// XPNobleCenterProtocol.h
|
|
// xplan-ios
|
|
//
|
|
// Created by GreenLand on 2021/12/28.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class NobleCenterModel, UserInfoModel, NobleRechargeModel;
|
|
@protocol XPNobleCenterProtocol <NSObject>
|
|
@optional
|
|
///获取贵族信息成功
|
|
- (void)getNobleCenterInfoSuccess:(NobleCenterModel *)model;
|
|
|
|
///获取用户信息成功
|
|
- (void)onGetUserInfoSuccess:(UserInfoModel *)userInfo;
|
|
|
|
///获取贵族充值信息成功
|
|
- (void)onGetNobleRechargeDataSuccess:(NobleRechargeModel *)rechargeInfo;
|
|
|
|
///请求充值id的状态成功
|
|
- (void)requestIAPRechargeOrderSuccess:(NSString *)orderId chargeProdId:(NSString *)chargeProdId uuid:(NSString *)uuid;
|
|
///请求充值账单失败
|
|
- (void)requestIAPRechargeOrderFail:(NSString *)message code:(NSInteger)code;
|
|
|
|
///二次校验成功
|
|
- (void)checkReceiptSuccess:(NSString *)transcationId;
|
|
///二次校验失败
|
|
- (void)checkReceiptFailWithCode:(NSInteger)code transcationId:(NSString *)transcationId;
|
|
///批量验证凭据成功
|
|
- (void)checkTranscationIdsSuccess;
|
|
|
|
///开关隐身进房成功
|
|
- (void)changeEnterHideSuccess;
|
|
///开关隐身进房失败
|
|
- (void)changeEnterHideFail;
|
|
///钻石开通会员成功
|
|
-(void)openVipWithDiamondSuccess;
|
|
///钻石开通会员失败
|
|
-(void)openVipWithDiamondFail;
|
|
@end
|