Added dummy SKSE.pex

This commit is contained in:
Eddoursul 2022-08-04 21:37:18 +02:00
parent f6805600c7
commit b1f2ef17b5
2 changed files with 35 additions and 0 deletions

BIN
scripts/SKSE.pex Normal file

Binary file not shown.

35
source/scripts/SKSE.psc Normal file
View File

@ -0,0 +1,35 @@
Scriptname SKSE Hidden
{Dummy SKSE script to avoid Papyrus errors, when SKSE is missing}
; General SKSE-specific information
; get the major version of SKSE
int Function GetVersion() global
return 0
endFunction
; get the minor version of SKSE
int Function GetVersionMinor() global
return 0
endFunction
; get the beta version of SKSE
int Function GetVersionBeta()
return 0
endFunction
; get the release index of SKSE. This number is incremented every time
; SKSE is released outside of the development team
int Function GetVersionRelease() global
return 0
endFunction
; get the release index of this script file.
; Can be used to detect a script/runtime version mismatch
int Function GetScriptVersionRelease() global
return 65
endFunction
; get a plugins version number, -1 if the plugin is not loaded
int Function GetPluginVersion(string name) global
return -1
endFunction