PICO Unreal Platform SDK
UOnlinePicoAssetFileFunction Class Reference

OnlinePicoAssetFile Blueprint Function class. More...

#include <Pico_AssetFile.h>

Static Public Member Functions

static bool DeleteByID (UObject *WorldContextObject, FString AssetFileID, FAssetFileDeleteResult InDeleteByIDDelegate)
 Deletes an installed asset file by asset file ID. The corresponding asset file will be removed from the device. More...
 
static bool DeleteByName (UObject *WorldContextObject, FString AssetFileName, FAssetFileDeleteResult InDeleteByNameDelegate)
 Deletes an installed asset file by asset file name. The corresponding asset file will be removed from the device. More...
 
static bool DownloadById (UObject *WorldContextObject, FString AssetFileID, FAssetFileDownloadResult InDownloadByIDDelegate)
 Downloads an asset file by asset file ID. More...
 
static bool DownloadByName (UObject *WorldContextObject, FString AssetFileName, FAssetFileDownloadResult InDownloadByNameDelegate)
 Downloads an asset file by asset file name. More...
 
static bool DownloadCancelById (UObject *WorldContextObject, FString AssetFileID, FAssetFileDownloadCancelResult InDownloadCancelByIDDelegate)
 Cancels the download of an asset file by asset file ID. More...
 
static bool DownloadCancelByName (UObject *WorldContextObject, FString AssetFileName, FAssetFileDownloadCancelResult InDownloadCancelByNameDelegate)
 Cancels the download of an asset file by asset file name. More...
 
static bool GetAssetFileList (UObject *WorldContextObject, FGetAssetFileList InGetAssetFileListDelegate)
 Gets the asset file list.
More...
 
static bool GetNextAssetDetailsArrayPage (UObject *WorldContextObject, UPico_AssetDetailsArray *InAssetDetailsArray, FGetAssetFileList InGetNextAssetDetailsArrayPageDelegate)
 Gets the next page of the asset file list. More...
 
static bool GetAssetFileStatusById (UObject *WorldContextObject, FString AssetFileID, FGetAssetFileStatus InGetAssetFileStatusByIdDelegate)
 Gets the download status of an asset file by asset file ID. More...
 
static bool GetAssetFileStatusByName (UObject *WorldContextObject, FString AssetFileName, FGetAssetFileStatus InGetAssetFileStatusByNameDelegate)
 Gets the download status of an asset file by asset file name. More...
 

Detailed Description

OnlinePicoAssetFile Blueprint Function class.

Member Function Documentation

◆ DeleteByID()

static bool DeleteByID ( UObject *  WorldContextObject,
FString  AssetFileID,
FAssetFileDeleteResult  InDeleteByIDDelegate 
)
static

Deletes an installed asset file by asset file ID. The corresponding asset file will be removed from the device.

Parameters
WorldContextObjectUsed to get the information about the current world.
AssetFileIDThe ID of the installed asset file to delete.
InDeleteByIDDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ DeleteByName()

static bool DeleteByName ( UObject *  WorldContextObject,
FString  AssetFileName,
FAssetFileDeleteResult  InDeleteByNameDelegate 
)
static

Deletes an installed asset file by asset file name. The corresponding asset file will be removed from the device.

Parameters
WorldContextObjectUsed to get the information about the current world.
AssetFileNameThe name of the installed asset file to delete.
InDeleteByNameDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ DownloadById()

static bool DownloadById ( UObject *  WorldContextObject,
FString  AssetFileID,
FAssetFileDownloadResult  InDownloadByIDDelegate 
)
static

Downloads an asset file by asset file ID.

Parameters
WorldContextObjectThe ID of the asset file to download.
AssetFileIDThe asset file ID.
InDownloadByIDDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ DownloadByName()

static bool DownloadByName ( UObject *  WorldContextObject,
FString  AssetFileName,
FAssetFileDownloadResult  InDownloadByNameDelegate 
)
static

Downloads an asset file by asset file name.

Parameters
WorldContextObjectUsed to get the information about the current world.
AssetFileNameThe name of the asset file to download.
InDownloadByNameDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ DownloadCancelById()

static bool DownloadCancelById ( UObject *  WorldContextObject,
FString  AssetFileID,
FAssetFileDownloadCancelResult  InDownloadCancelByIDDelegate 
)
static

Cancels the download of an asset file by asset file ID.

Parameters
WorldContextObjectUsed to get the information about the current world.
AssetFileIDThe ID of the asset file to cancel download for.
InDownloadCancelByIDDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ DownloadCancelByName()

static bool DownloadCancelByName ( UObject *  WorldContextObject,
FString  AssetFileName,
FAssetFileDownloadCancelResult  InDownloadCancelByNameDelegate 
)
static

Cancels the download of an asset file by asset file name.

Parameters
WorldContextObjectUsed to get the information about the current world.
AssetFileNameThe name of the asset file to cancel download for.
InDownloadCancelByNameDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ GetAssetFileList()

static bool GetAssetFileList ( UObject *  WorldContextObject,
FGetAssetFileList  InGetAssetFileListDelegate 
)
static

Gets the asset file list.

Parameters
WorldContextObjectUsed to get the information about the current world.
InGetAssetFileListDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ GetAssetFileStatusById()

static bool GetAssetFileStatusById ( UObject *  WorldContextObject,
FString  AssetFileID,
FGetAssetFileStatus  InGetAssetFileStatusByIdDelegate 
)
static

Gets the download status of an asset file by asset file ID.

Parameters
WorldContextObjectUsed to get the information about the current world.
AssetFileIDThe ID of the asset file to get the download status for.
InGetAssetFileStatusByIdDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ GetAssetFileStatusByName()

static bool GetAssetFileStatusByName ( UObject *  WorldContextObject,
FString  AssetFileName,
FGetAssetFileStatus  InGetAssetFileStatusByNameDelegate 
)
static

Gets the download status of an asset file by asset file name.

Parameters
WorldContextObjectUsed to get the information about the current world.
AssetFileNameThe name of the asset file to get the download status for.
InGetAssetFileStatusByNameDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure


◆ GetNextAssetDetailsArrayPage()

static bool GetNextAssetDetailsArrayPage ( UObject *  WorldContextObject,
UPico_AssetDetailsArray *  InAssetDetailsArray,
FGetAssetFileList  InGetNextAssetDetailsArrayPageDelegate 
)
static

Gets the next page of the asset file list.

Parameters
WorldContextObjectUsed to get the information about the current world.
InAssetDetailsArrayThe current asset details array object.
InGetNextAssetDetailsArrayPageDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure