leopard8352
2023-12-04 8871a733498c8d717714b83bb096b7738224541a
提交 | 用户 | 时间
8871a7 1 // Fill out your copyright notice in the Description page of Project Settings.
L 2
3 #pragma once
4
5 #include "CoreMinimal.h"
6 #include "Kismet/BlueprintFunctionLibrary.h"
7 #include "TapADNStatic.generated.h"
8
9 /**
10  * 
11  */
12 UCLASS()
13 class TAPTAP_API UTapADNStatic : public UBlueprintFunctionLibrary
14 {
15     GENERATED_BODY()
16 public:
17
18     // DECLARE_DYNAMIC_MULTICAST_DELEGATE(FTapADNPlayRewardADEventHandle);
19     // UPROPERTY(BlueprintAssignable)
20     // FTapADNPlayRewardADEventHandle TapAdnPlayRewardADEventHandle;
21     
22     UFUNCTION(BlueprintCallable)
23     static void TapADNRequestPermissionIfNecessary();
24
25     UFUNCTION(BlueprintCallable)
26     static void TapADNInit(
27         int32 mediaID,
28         FString mediaName,
29         FString mediaKey,
30         bool enableDebug,
31         int32 avatarLevel);
32
33     UFUNCTION(BlueprintCallable)
34     static void TapADNRequestRewardAD(
35         int32 spaceID,     // 广告后台获取广告位id
36         FString rewardName,  // 奖品名称
37         int32 rewardAmount);
38
39     UFUNCTION(BlueprintCallable)
40     static void TapADNPlayRewardAD();
41     
42 };