unreal.GooglePADFunctionLibrary

class unreal.GooglePADFunctionLibrary(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: BlueprintFunctionLibrary

Google PADFunction Library

C++ Source:

  • Plugin: GooglePAD

  • Module: GooglePAD

  • File: GooglePADFunctionLibrary.h

classmethod cancel_download(asset_packs) GooglePADErrorCode

Cancel download of a set of asset packs

Parameters:

asset_packs (Array[str]) –

Return type:

GooglePADErrorCode

classmethod get_asset_pack_location(name) -> (GooglePADErrorCode, location=int32)

Get location handle of requested asset pack (release when done)

Parameters:

name (str) –

Returns:

location (int32):

Return type:

int32

classmethod get_assets_path(location) str

Get asset path from from location

Parameters:

location (int32) –

Return type:

str

classmethod get_bytes_downloaded(state) int32

Get the number of bytes downloaded from a download state

Parameters:

state (int32) –

Return type:

int32

classmethod get_download_state(name) -> (GooglePADErrorCode, state=int32)

Get download state handle of an asset pack (release when done)

Parameters:

name (str) –

Returns:

state (int32):

Return type:

int32

classmethod get_download_status(state) GooglePADDownloadStatus

Get download status from a download state

Parameters:

state (int32) –

Return type:

GooglePADDownloadStatus

classmethod get_show_cellular_data_confirmation_status() -> (GooglePADErrorCode, status=GooglePADCellularDataConfirmStatus)

Get status of cellular confirmation dialog

Returns:

status (GooglePADCellularDataConfirmStatus):

Return type:

GooglePADCellularDataConfirmStatus

classmethod get_storage_method(location) GooglePADStorageMethod

Get storage method from location

Parameters:

location (int32) –

Return type:

GooglePADStorageMethod

classmethod get_total_bytes_to_download(state) int32

Get the total number of bytes to download from a download state

Parameters:

state (int32) –

Return type:

int32

classmethod release_asset_pack_location(location) None

Release location resources

Parameters:

location (int32) –

classmethod release_download_state(state) None

Release download state resources

Parameters:

state (int32) –

classmethod request_download(asset_packs) GooglePADErrorCode

Request download of a set of asset packs

Parameters:

asset_packs (Array[str]) –

Return type:

GooglePADErrorCode

classmethod request_info(asset_packs) GooglePADErrorCode

Request information about a set of asset packs

Parameters:

asset_packs (Array[str]) –

Return type:

GooglePADErrorCode

classmethod request_removal(name) GooglePADErrorCode

Request removal of an asset pack

Parameters:

name (str) –

Return type:

GooglePADErrorCode

classmethod show_cellular_data_confirmation() GooglePADErrorCode

Show confirmation dialog requesting data download over cellular network

Return type:

GooglePADErrorCode