// Fill out your copyright notice in the Description page of Project Settings.
|
|
#pragma once
|
|
#include "CoreMinimal.h"
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
#include "TapADNStatic.generated.h"
|
|
/**
|
*
|
*/
|
UCLASS()
|
class TAPTAP_API UTapADNStatic : public UBlueprintFunctionLibrary
|
{
|
GENERATED_BODY()
|
public:
|
|
// DECLARE_DYNAMIC_MULTICAST_DELEGATE(FTapADNPlayRewardADEventHandle);
|
// UPROPERTY(BlueprintAssignable)
|
// FTapADNPlayRewardADEventHandle TapAdnPlayRewardADEventHandle;
|
|
UFUNCTION(BlueprintCallable)
|
static void TapADNRequestPermissionIfNecessary();
|
|
UFUNCTION(BlueprintCallable)
|
static void TapADNInit(
|
int32 mediaID,
|
FString mediaName,
|
FString mediaKey,
|
bool enableDebug,
|
int32 avatarLevel);
|
|
UFUNCTION(BlueprintCallable)
|
static void TapADNRequestRewardAD(
|
int32 spaceID, // 广告后台获取广告位id
|
FString rewardName, // 奖品名称
|
int32 rewardAmount);
|
|
UFUNCTION(BlueprintCallable)
|
static void TapADNPlayRewardAD();
|
|
};
|