UAppUpdateOptions

#include <AppUpdateOptions.h>

This class represents the options for the app update.

Summary

To create an instance of this class, use the CreateAppUpdateOptions function, which initializes the object based on the given update type.

Inheritance

Inherits from: UObject

Public static functions

CreateAppUpdateOptions(EAppUpdateType UpdateType)
Creates an UAppUpdateOptions object.

Public functions

BeginDestroy() override
virtual void
Part of UObject interface.
ClearAppUpdateOptions()
void
Clears the native app update options object.
GetAppUpdateType()
Returns the type of update.
IsAssetPackDeletionAllowed()
bool
Returns whether the asset pack deletion is allowed.
SetAssetPackDeletionAllowed(bool bAllow)
Sets whether the asset pack deletion is allowed.

Public static functions

CreateAppUpdateOptions

UAppUpdateOptions * CreateAppUpdateOptions(
  EAppUpdateType UpdateType
)

Creates an UAppUpdateOptions object.

Details
Parameters
UpdateType
The type of update.
Returns
The UAppUpdateOptions object.

Public functions

BeginDestroy

virtual void BeginDestroy() override

Part of UObject interface.

Called when the object is marked for deletion by MarkPendingKill.

ClearAppUpdateOptions

void ClearAppUpdateOptions()

Clears the native app update options object.

GetAppUpdateType

EAppUpdateType GetAppUpdateType()

Returns the type of update.

IsAssetPackDeletionAllowed

bool IsAssetPackDeletionAllowed()

Returns whether the asset pack deletion is allowed.

SetAssetPackDeletionAllowed

EAppUpdateErrorCode SetAssetPackDeletionAllowed(
  bool bAllow
)

Sets whether the asset pack deletion is allowed.

Details
Parameters
bAllow
Whether the asset pack deletion is allowed.
Returns
The error code of the operation.