|
|
|
|
| #pragma once
|
|
|
| #include "Engine/DataAsset.h"
|
|
|
| #include "LyraUserFacingExperienceDefinition.generated.h"
|
|
|
| class FString;
|
| class UCommonSession_HostSessionRequest;
|
| class UObject;
|
| class UTexture2D;
|
| class UUserWidget;
|
| struct FFrame;
|
|
|
|
|
| UCLASS(BlueprintType)
|
| class ULyraUserFacingExperienceDefinition : public UPrimaryDataAsset
|
| {
|
| GENERATED_BODY()
|
|
|
| public:
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience, meta=(AllowedTypes="Map"))
|
| FPrimaryAssetId MapID;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience, meta=(AllowedTypes="LyraExperienceDefinition"))
|
| FPrimaryAssetId ExperienceID;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| TMap<FString, FString> ExtraArgs;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| FText TileTitle;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| FText TileSubTitle;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| FText TileDescription;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| TObjectPtr<UTexture2D> TileIcon;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=LoadingScreen)
|
| TSoftClassPtr<UUserWidget> LoadingScreenWidget;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| bool bIsDefaultExperience = false;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| bool bShowInFrontEnd = true;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| bool bRecordReplay = false;
|
|
|
|
|
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=Experience)
|
| int32 MaxPlayerCount = 16;
|
|
|
| public:
|
|
|
| UFUNCTION(BlueprintCallable, BlueprintPure=false, meta = (WorldContext = "WorldContextObject"))
|
| UCommonSession_HostSessionRequest* CreateHostingRequest(const UObject* WorldContextObject) const;
|
| };
|
|
|