Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
biospackageservice.c
Go to the documentation of this file.
1 
4 {
6  bool m_IsUpdate;
7 
9  bool m_IsMandatory;
10 };
11 
13 {
15 
18  proto native EBiosError CheckUpdateAsync();
19 
20 
22 
25  proto native EBiosError PromptUpdateAsync();
26 
27 
29 
32  proto native EBiosError ShowStoreAsync();
33 
35 
39  void OnCheckUpdate(BiosCheckUpdateResult checkUpdateResult, EBiosError error)
40  {
41  if ( !error && ( checkUpdateResult.m_IsUpdate || checkUpdateResult.m_IsMandatory ) )
42  {
43  OnlineServices.PromptUpdate();
44  }
45  }
46 
47 
49 
55  void OnPromptUpdate(EBiosError error)
56  {
57  OnlineServices.ErrorCaught( error );
58  }
59 
60 
62 
65  void OnShowStore(EBiosError error)
66  {
67  OnlineServices.ErrorCaught( error );
68  }
69 
70 };
BiosCheckUpdateResult
BiosCheckUpdateResult represent result of the PromptUpdateAsync request.
Definition: biospackageservice.c:3
BiosPackageService
Definition: biospackageservice.c:12
EBiosError
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
Definition: bioserrormodule.c:6
OnlineServices
Definition: onlineservices.c:1