Background for Skyrim SE

JContainers


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
boolfunction__isInstalled()NativeGlobal

It's NOT part of public API

intfunctionAPIVersion()NativeGlobal

Version information.
It's a good practice to validate installed JContainers version with the following code:
bool isJCValid = JContainers.APIVersion() == AV && JContainers.featureVersion() >= FV
where AV and FV are hardcoded API and feature version numbers.
Current API version is 4
Current feature version is 2

intfunctionfeatureVersion()NativeGlobal
boolfunctionfileExistsAtPath(stringpath)NativeGlobal

Returns true if the file at a specified @path exists

string[]functioncontentsOfDirectoryAtPath(stringdirectoryPath, stringextension="")NativeGlobal
voidfunctionremoveFileAtPath(stringpath)NativeGlobal

Deletes the file or directory identified by the @path

stringfunctionuserDirectory()NativeGlobal

A path to user-specific directory - My Games/Skyrim Special Edition/JCUser/

boolfunctionisInstalled()Global

Returns true if JContainers plugin installed properly

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.