leopard8352
2023-12-04 8871a733498c8d717714b83bb096b7738224541a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// 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();
    
};