LEAP Documentation 40220
Documentation for the LEAP project
PlayerStructs.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2017. All Rights Reserved.
2
3#pragma once
4#include "CoreMinimal.h"
5#include "Engine/DataTable.h"
6#include "Engine/DataAsset.h"
7#include "PlayerStructs.generated.h"
8
9class UAfflictionInstance;
11class UWeaponInstance;
12
13UENUM(BlueprintType)
14enum class ECustomMovementType : uint8
15{
16 None = 0,
17 JetPack = 1,
18 Dash = 2,
19 Hookshot = 3,
20 OmniDash = 4
21};
22
23UENUM(BlueprintType)
24enum class EEquipSlot : uint8
25{
26 PrimaryWeapon = 0,
32 MeleeAbility = 6,
33 FoundWeapon = 7,
34 None = 8
35};
36
37USTRUCT(BlueprintType)
39{
40 GENERATED_USTRUCT_BODY()
42 FExpStruct(const TSubclassOf<AProjectXCharacter>& NewClass, int NewExperience, int NewLevel)
43 {
44 Class = NewClass;
45 Experience = NewExperience;
46 Level = NewLevel;
47 }
48 UPROPERTY(BlueprintReadOnly)
50 UPROPERTY(BlueprintReadOnly)
51 int Experience = 0;
52 UPROPERTY(BlueprintReadOnly)
53 int Level = 0;
54 UPROPERTY(BlueprintReadOnly)
55 int Currency = 0;
56 UPROPERTY()
57 TArray<uint16> CosmeticIDs;
58 UPROPERTY(BlueprintReadOnly)
59 TArray<FString> ShortCodes;
60};
61
62USTRUCT(BlueprintType)
64{
65 GENERATED_USTRUCT_BODY()
67 {
68 ExpStruct = TArray<FExpStruct>();
69 }
70
71 UPROPERTY(BlueprintReadOnly)
72 TArray<FExpStruct> ExpStruct;
73};
ECustomMovementType
Definition: PlayerStructs.h:15
@ Dash
Definition: DashComponent.cpp:90
EEquipSlot
Definition: PlayerStructs.h:25
Definition: ProjectXCharacter.h:128
Definition: WeaponInstance.h:220
Definition: PlayerStructs.h:39
FExpStruct(const TSubclassOf< AProjectXCharacter > &NewClass, int NewExperience, int NewLevel)
Definition: PlayerStructs.h:42
Definition: PlayerStructs.h:64