DayZ 1.24
Loading...
Searching...
No Matches
BiosPackageService Class Reference

Private Member Functions

proto native EBiosError CheckUpdateAsync ()
 Async check if exist new update.
 
proto native EBiosError PromptUpdateAsync ()
 Prompt user to accept update with system GUI.
 
proto native EBiosError ShowStoreAsync ()
 Show store for current title (system GUI). Only on Xbox.
 
void OnCheckUpdate (BiosCheckUpdateResult checkUpdateResult, EBiosError error)
 Callback function for CheckUpdateAsync()
 
void OnPromptUpdate (EBiosError error)
 Callback function for PromptUpdateAsync()
 
void OnShowStore (EBiosError error)
 Callback function for ShowStoreAsync()
 

Detailed Description

Definition at line 12 of file BiosPackageService.c.

Member Function Documentation

◆ CheckUpdateAsync()

proto native EBiosError BiosPackageService::CheckUpdateAsync ( )
private

Async check if exist new update.

Returns
EBiosError indicating if the async operation is pending.

◆ OnCheckUpdate()

void BiosPackageService::OnCheckUpdate ( BiosCheckUpdateResult checkUpdateResult,
EBiosError error )
inlineprivate

Callback function for CheckUpdateAsync()

Parameters
checkUpdateResultcontain information about availability of new update and if it is mandatory.
errorindicating success or fail of the async operation.

Definition at line 39 of file BiosPackageService.c.

40 {
41 if (!error && (checkUpdateResult.m_IsUpdate || checkUpdateResult.m_IsMandatory))
43 }
static void PromptUpdate()

References OnlineServices::PromptUpdate().

◆ OnPromptUpdate()

void BiosPackageService::OnPromptUpdate ( EBiosError error)
inlineprivate

Callback function for PromptUpdateAsync()

Show system UI with update. On Xbox, game suspend after accept update.

Parameters
errorindicating success or fail of the async operation.

Definition at line 53 of file BiosPackageService.c.

54 {
56 }
static bool ErrorCaught(EBiosError error)

References OnlineServices::ErrorCaught().

◆ OnShowStore()

void BiosPackageService::OnShowStore ( EBiosError error)
inlineprivate

Callback function for ShowStoreAsync()

Parameters
errorindicating success or fail of the async operation.

Definition at line 63 of file BiosPackageService.c.

References OnlineServices::ErrorCaught().

◆ PromptUpdateAsync()

proto native EBiosError BiosPackageService::PromptUpdateAsync ( )
private

Prompt user to accept update with system GUI.

Returns
EBiosError indicating if the async operation is pending.

◆ ShowStoreAsync()

proto native EBiosError BiosPackageService::ShowStoreAsync ( )
private

Show store for current title (system GUI). Only on Xbox.

Returns
EBiosError indicating if the async operation is pending.

The documentation for this class was generated from the following file: