| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class ULyraExperienceDefinition; | |
| /** | |
| * The default world settings object, used primarily to set the default gameplay experience to use when playing on this map | |
| */ | |
| UCLASS(MinimalAPI) | |
| class ALyraWorldSettings : public AWorldSettings | |
| { | |
| GENERATED_BODY() | |
| public: | |
| UE_API ALyraWorldSettings(const FObjectInitializer& ObjectInitializer); | |
| UE_API virtual void CheckForErrors() override; | |
| public: | |
| // Returns the default experience to use when a server opens this map if it is not overridden by the user-facing experience | |
| UE_API FPrimaryAssetId GetDefaultGameplayExperience() const; | |
| protected: | |
| // The default experience to use when a server opens this map if it is not overridden by the user-facing experience | |
| UPROPERTY(EditDefaultsOnly, Category=GameMode) | |
| TSoftClassPtr<ULyraExperienceDefinition> DefaultGameplayExperience; | |
| public: | |
| // Is this level part of a front-end or other standalone experience? | |
| // When set, the net mode will be forced to Standalone when you hit Play in the editor | |
| UPROPERTY(EditDefaultsOnly, Category=PIE) | |
| bool ForceStandaloneNetMode = false; | |
| }; | |