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 "UObject/Object.h"
7 #include "TapTraceEvent.generated.h"
8
9 /**
10  * 
11  */
12 UCLASS(Blueprintable,BlueprintType)
13 class TAPTAP_API UTapTraceEvent : public UObject
14 {
15     GENERATED_BODY()
16 public:
17     UTapTraceEvent();
18
19     UFUNCTION(BlueprintCallable)
20     void PutString(FString name,FString value);
21     UFUNCTION(BlueprintCallable)
22     void PutInt(FString name,int32 value);
23     UFUNCTION(BlueprintCallable)
24     void PutFlot(FString name,float value);
25
26     UFUNCTION(BlueprintCallable)
27     FString Build();
28 private:
29     TSharedPtr<FJsonObject> JsonObject;
30 };