Skip to content

Commit

Permalink
feat: add ModInstallState struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Oct 29, 2023
1 parent 764b64e commit 16e80d7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Northstar.Client/mod/scripts/vscripts/cl_northstar_client_init.nut
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ global struct MasterServerAuthResult
string errorCode
string errorMessage
}

global enum eModInstallStatus
{
DOWNLOADING,
CHECKSUMING,
EXTRACTING,
DONE,
FAILED,
FAILED_READING_ARCHIVE,
FAILED_WRITING_TO_DISK,
MOD_FETCHING_FAILED,
MOD_CORRUPTED,
NO_DISK_SPACE_AVAILABLE,
NOT_FOUND
}

global struct ModInstallState
{
int status
int progress
int total
float ratio
}

0 comments on commit 16e80d7

Please sign in to comment.