Unreal OpenAI API 1.0.0
OpenAIOptional.h
1// OpenAI, Copyright LifeEXE. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "OpenAIOptional.generated.h"
7
8USTRUCT(BlueprintType)
10{
11 GENERATED_BODY()
12
13 UPROPERTY(BlueprintReadWrite, Category = "OpenAI")
14 FString Value{};
15
16 UPROPERTY(BlueprintReadWrite, Category = "OpenAI")
17 bool IsSet{false};
18
19 void Set(const FString& InValue)
20 {
21 Value = InValue;
22 IsSet = true;
23 }
24
25 void UnSet()
26 {
27 Value = {};
28 IsSet = false;
29 }
30};
31
32USTRUCT(BlueprintType)
34{
35 GENERATED_BODY()
36
37 UPROPERTY(BlueprintReadWrite, Category = "OpenAI")
38 int32 Value{};
39
40 UPROPERTY(BlueprintReadWrite, Category = "OpenAI")
41 bool IsSet{false};
42
43 void Set(int32 InValue)
44 {
45 Value = InValue;
46 IsSet = true;
47 }
48
49 void UnSet()
50 {
51 Value = {};
52 IsSet = false;
53 }
54};
55
56USTRUCT(BlueprintType)
58{
59 GENERATED_BODY()
60
61 UPROPERTY(BlueprintReadWrite, Category = "OpenAI")
62 bool Value{};
63
64 UPROPERTY(BlueprintReadWrite, Category = "OpenAI")
65 bool IsSet{false};
66
67 void Set(bool InValue)
68 {
69 Value = InValue;
70 IsSet = true;
71 }
72
73 void UnSet()
74 {
75 Value = {};
76 IsSet = false;
77 }
78};
Definition: OpenAIOptional.h:58
Definition: OpenAIOptional.h:34
Definition: OpenAIOptional.h:10