| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class ULocalPlayer; | |
| class UObject; | |
| class UPocketLevel; | |
| class UPocketLevelInstance; | |
| /** | |
| * | |
| */ | |
| UCLASS(MinimalAPI) | |
| class UPocketLevelSubsystem : public UWorldSubsystem | |
| { | |
| GENERATED_BODY() | |
| public: | |
| /** | |
| * | |
| */ | |
| UE_API UPocketLevelInstance* GetOrCreatePocketLevelFor(ULocalPlayer* LocalPlayer, UPocketLevel* PocketLevel, FVector DesiredSpawnPoint); | |
| private: | |
| UPROPERTY() | |
| TArray<TObjectPtr<UPocketLevelInstance>> PocketInstances; | |
| }; | |