A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
PixoToolData.h
Go to the documentation of this file.
1// Copyright(c) Pixo Group. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "PixoToolData.generated.h"
8
13USTRUCT(BlueprintType)
14struct PIXOCORE_API FPixoToolData : public FTableRowBase
15{
16 GENERATED_BODY()
18 UPROPERTY(EditAnywhere, BlueprintReadWrite)
19 FString Name;
20
21 UPROPERTY(EditAnywhere, BlueprintReadWrite)
22 UTexture2D* Icon;
23
24 UPROPERTY(EditAnywhere, BlueprintReadWrite)
25 bool Disabled;
27 UPROPERTY(EditAnywhere, BlueprintReadWrite)
28 TSubclassOf<AActor> HandTool;
29
30 UPROPERTY(EditAnywhere, BlueprintReadWrite)
31 TSubclassOf<AActor> SecondHandTool;
32
33 UPROPERTY(EditAnywhere, BlueprintReadWrite)
34 bool TwoPartTool;
35
36 UPROPERTY(EditAnywhere, BlueprintReadWrite)
37 bool LimitedItem;
38
39 UPROPERTY(EditAnywhere, BlueprintReadWrite)
40 int32 MaxNumber;
41
42 UPROPERTY(EditAnywhere, BlueprintReadWrite)
43 TSubclassOf<AActor> DroppedTool;
44
45 UPROPERTY(EditAnywhere, BlueprintReadWrite)
46 bool DestroyOnDrop;
48 UPROPERTY(EditAnywhere, BlueprintReadWrite)
49 bool DestroyAfterDelay;
50
51 UPROPERTY(EditAnywhere, BlueprintReadWrite)
52 float DestroyDelay;
53
54 UPROPERTY(EditAnywhere, BlueprintReadWrite)
55 int32 MaxSpawnedToolCount;
56
57 UPROPERTY(EditAnywhere, BlueprintReadWrite)
58 bool CanExistWithoutOwner;
59
61 Name("<Tool Name>"),
62 Icon(nullptr),
63 Disabled(false),
64 HandTool(nullptr),
65 SecondHandTool(nullptr),
66 TwoPartTool(false),
67 LimitedItem(false),
68 MaxNumber(1),
69 DroppedTool(nullptr),
70 DestroyOnDrop(true),
71 DestroyAfterDelay(true),
72 DestroyDelay(30.f),
73 MaxSpawnedToolCount(INDEX_NONE),
74 CanExistWithoutOwner(true)
75 {
76 }
77};
Represents data for a tool in PixoCore.
TSubclassOf< AActor > HandTool
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool TwoPartTool
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UTexture2D * Icon
UPROPERTY(EditAnywhere, BlueprintReadWrite)
int32 MaxNumber
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool DestroyAfterDelay
UPROPERTY(EditAnywhere, BlueprintReadWrite)
int32 MaxSpawnedToolCount
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TSubclassOf< AActor > SecondHandTool
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TSubclassOf< AActor > DroppedTool
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool CanExistWithoutOwner
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool DestroyOnDrop
UPROPERTY(EditAnywhere, BlueprintReadWrite)
float DestroyDelay
UPROPERTY(EditAnywhere, BlueprintReadWrite)
FString Name
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool LimitedItem
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool Disabled
UPROPERTY(EditAnywhere, BlueprintReadWrite)