// Copyright Zelle Games #pragma once #include "CoreMinimal.h" #include "RosterEntry.h" #include "Unit.h" #include "Subsystems/GameInstanceSubsystem.h" #include "RosterSubsystem.generated.h" /** * */ UCLASS() class STREETPUNKZ_API URosterSubsystem : public UGameInstanceSubsystem { GENERATED_BODY() public: const URosterEntry* GetEnemy(int32 Section, int32 ScoreAvailable); UFUNCTION(BlueprintCallable) void AddToRoster(TArray RosterEntries); UFUNCTION(BlueprintCallable) void ClearRoster(); protected: TArray> EnemyRoster; };