RealtimeStyleTransferRuntime/Plugins/PocketWorlds/Source/Public/PocketLevelSystem.h

35 lines
708 B
C
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
2022-09-13 07:18:28 +00:00
#include "Containers/Array.h"
#include "Math/MathFwd.h"
2022-05-23 18:41:30 +00:00
#include "Subsystems/WorldSubsystem.h"
2022-09-13 07:18:28 +00:00
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "PocketLevelSystem.generated.h"
class ULocalPlayer;
2022-09-13 07:18:28 +00:00
class UObject;
class UPocketLevel;
2022-05-23 18:41:30 +00:00
class UPocketLevelInstance;
/**
*
*/
UCLASS()
class POCKETWORLDS_API UPocketLevelSubsystem : public UWorldSubsystem
{
GENERATED_BODY()
public:
/**
*
*/
UPocketLevelInstance* GetOrCreatePocketLevelFor(ULocalPlayer* LocalPlayer, UPocketLevel* PocketLevel, FVector DesiredSpawnPoint);
private:
UPROPERTY()
2022-09-13 07:18:28 +00:00
TArray<TObjectPtr<UPocketLevelInstance>> PocketInstances;
2022-05-23 18:41:30 +00:00
};