BRClient.Init bool result, messagebox on error
This commit is contained in:
parent
2f61106649
commit
8030bb1c8a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
scriptname BRClient
|
scriptname BRClient
|
||||||
|
|
||||||
function Init() global native
|
bool function Init() global native
|
||||||
bool function StatusCheck(string apiKey, quest quest) global native
|
bool function StatusCheck(string apiKey, quest quest) global native
|
||||||
string function GenerateApiKey() global native
|
string function GenerateApiKey() global native
|
@ -26,7 +26,9 @@ endEvent
|
|||||||
function Maintenance()
|
function Maintenance()
|
||||||
Debug.Trace("BRQuestScript Maintenance")
|
Debug.Trace("BRQuestScript Maintenance")
|
||||||
UILib = (Self as Form) as UILIB_1
|
UILib = (Self as Form) as UILIB_1
|
||||||
BRClient.Init()
|
if !BRClient.Init()
|
||||||
|
Debug.MessageBox("Failed to initialize Bazaar Realm client. Please ensure that the folder Documents\\My Games\\Skyrim Special Edition\\SKSE exists and is accessible by Skyrim.")
|
||||||
|
endif
|
||||||
int newVersion = GetVersion()
|
int newVersion = GetVersion()
|
||||||
if ModVersion < newVersion
|
if ModVersion < newVersion
|
||||||
ModVersion = newVersion
|
ModVersion = newVersion
|
||||||
|
Loading…
Reference in New Issue
Block a user