2014-12-07 19:09:38 -05:00
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
2014-03-14 14:13:41 -04:00
/*=============================================================================
HTML5TargetSettings . h : Declares the UHTML5TargetSettings class .
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
# pragma once
# include "HTML5TargetSettings.generated.h"
2015-04-08 14:53:36 -04:00
USTRUCT ( )
struct FHTML5LevelTransitions
{
GENERATED_USTRUCT_BODY ( )
UPROPERTY ( EditAnywhere , Category = HTML5_LevelTransitions , Meta = ( DisplayName = " From Map " ) )
FFilePath MapFrom ;
UPROPERTY ( EditAnywhere , Category = HTML5_LevelTransitions , Meta = ( DisplayName = " To Map " ) )
FFilePath MapTo ;
} ;
2014-03-14 14:13:41 -04:00
/**
* Implements the settings for the HTML5 target platform .
*/
2014-05-07 16:21:14 -04:00
UCLASS ( config = Engine , defaultconfig )
2015-01-26 10:22:57 -05:00
class HTML5PLATFORMEDITOR_API UHTML5TargetSettings
2014-03-14 14:13:41 -04:00
: public UObject
{
public :
2015-03-17 05:38:32 -04:00
GENERATED_UCLASS_BODY ( )
2015-01-26 10:22:57 -05:00
/**
* Setting to control HTML5 Heap size ( in Development )
*/
UPROPERTY ( GlobalConfig , EditAnywhere , Category = Memory , Meta = ( DisplayName = " Development Heap Size (in MB) " , ClampMin = " 1 " , ClampMax = " 4096 " ) )
int32 HeapSizeDevelopment ;
/**
* Setting to control HTML5 Heap size
*/
UPROPERTY ( GlobalConfig , EditAnywhere , Category = Memory , Meta = ( DisplayName = " Heap Size (in MB) " , ClampMin = " 1 " , ClampMax = " 4096 " ) )
int32 HeapSizeShipping ;
2015-02-20 04:41:01 -05:00
/**
* Port to use when deploying game from the editor
*/
UPROPERTY ( GlobalConfig , EditAnywhere , Category = Memory , Meta = ( DisplayName = " Port to use when deploying game from the editor " , ClampMin = " 49152 " , ClampMax = " 65535 " ) )
int32 DeployServerPort ;
2015-04-22 14:26:39 -04:00
/**
* Setting to control which template to use
*/
UPROPERTY ( GlobalConfig , EditAnywhere , Category = Packaging , Meta = ( DisplayName = " Use new template [experimental] " ) )
bool UseExperimentalTemplate ;
2015-04-08 14:53:36 -04:00
/**
* Use a loading level and download maps during transitions .
*/
2015-04-22 14:26:39 -04:00
UPROPERTY ( GlobalConfig , EditAnywhere , Category = Packaging , Meta = ( DisplayName = " Download maps on the fly [experimental] " ) )
2015-04-08 14:53:36 -04:00
bool UseAsyncLevelLoading ;
/**
* Generate Delta Pak files for these level transitions .
*/
2015-04-22 14:26:39 -04:00
UPROPERTY ( GlobalConfig , EditAnywhere , Category = Packaging , Meta = ( DisplayName = " Level transitions for delta paks [experimental,depends on download maps] " ) )
2015-04-08 14:53:36 -04:00
TArray < FHTML5LevelTransitions > LevelTransitions ;
2014-03-14 14:13:41 -04:00
} ;