Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fill out your copyright notice in the Description page of Project Settings.
- #pragma once
- #include "GameFramework/Actor.h"
- #include "TTTGear.generated.h"
- enum weaponType {
- _wtHelmet,
- _wtChest,
- _wtGloves,
- _wtBoots,
- _wtBelt,
- _wtWeapon,
- _wtRing,
- _wtAmulet,
- _wtNone
- };
- UCLASS()
- class TOTHETHRONE_API ATTTGear : public AActor
- {
- GENERATED_BODY()
- public:
- // Sets default values for this actor's properties
- ATTTGear();
- // Called when the game starts or when spawned
- virtual void BeginPlay() override;
- // Called every frame
- virtual void Tick( float DeltaSeconds ) override;
- void init(FString name, FString path, int lvlReq,
- int strReq, int dexReq, int intReq, weaponType type);
- FString name;
- FString path;
- int lvlReq;
- int strReq;
- int dexReq;
- int intReq;
- weaponType type;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = TTT)
- UStaticMeshComponent *model;
- };
Add Comment
Please, Sign In to add comment