mergemilitary/Assets/Plugins/ToukaGames/ToponSDK/klevin/KlevinAdSDK.framework/Headers/KLNAdReward.h

30 lines
933 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// KLNAdReward.h
// KlevinAdSDK
//
// Copyright © 2021 Tencent. All rights reserved.
// Created by Klevin on 2021/4/20.
//
#import <Foundation/Foundation.h>
/// A block to be executed when the user earns a reward.
typedef void (^KLNAdUserDidEarnRewardHandler)(void);
/// 奖励内容对象(流量方无需创建实例)
@interface KLNAdReward : NSObject
/// 奖励类型: 1复活2签到3道具4虚拟货币5其他
@property(nonatomic, readonly, nonnull) NSString *type;
/// 奖励数量默认为1
@property(nonatomic, readonly, nonnull) NSDecimalNumber *amount;
/// Returns an initialized KLNAdReward with the provided reward type and reward amount.
/// @param rewardType 奖励类型
/// @param rewardAmount 奖励数量
- (nonnull instancetype)initWithRewardType:(nonnull NSString *)rewardType
rewardAmount:(nonnull NSDecimalNumber *)rewardAmount;
@end