// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Subsystems/WorldSubsystem.h" #include "PocketLevelSystem.generated.h" #define UE_API POCKETWORLDS_API 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> PocketInstances; }; #undef UE_API