Background for Skyrim SE

The JDB Script

    The JDB script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like JContainers (JContainers).

    For this script, the Papyrus index knows about:

    • 16 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Properties

    No properties found.

      Events

        No events found.

      Functions

      • floatfunctionsolveFlt(stringpath, floatdefault=0.0)NativeGlobal

        Attempts to retrieve the value associated with the @path.
        For ex. the following information associated with 'frosfall' key:

        "frostfall" : {
        "exposureRate" : 0.5,
        "arrayC" : ["stringValue", 1.5, 10, 1.14]
        }

        then JDB.solveFlt(".frostfall.exposureRate") will return 0.5 and
        JDB.solveObj(".frostfall.arrayC") will return the array containing ["stringValue", 1.5, 10, 1.14] values

      • intfunctionsolveInt(stringpath, intdefault=0)NativeGlobal
      • stringfunctionsolveStr(stringpath, stringdefault="")NativeGlobal
      • intfunctionsolveObj(stringpath, intdefault=0)NativeGlobal
      • FormfunctionsolveForm(stringpath, Formdefault=NONE)NativeGlobal
      • boolfunctionsolveFltSetter(stringpath, floatvalue, boolcreateMissingKeys=false)NativeGlobal

        Attempts to assign the @value. Returns false if no such path.
        If 'createMissingKeys=true' it creates any missing path elements: JDB.solveIntSetter(".frostfall.keyB", 10, true) creates {frostfall: {keyB: 10}} structure

      • boolfunctionsolveIntSetter(stringpath, intvalue, boolcreateMissingKeys=false)NativeGlobal
      • boolfunctionsolveStrSetter(stringpath, stringvalue, boolcreateMissingKeys=false)NativeGlobal
      • boolfunctionsolveObjSetter(stringpath, intvalue, boolcreateMissingKeys=false)NativeGlobal
      • boolfunctionsolveFormSetter(stringpath, Formvalue, boolcreateMissingKeys=false)NativeGlobal
      • voidfunctionsetObj(stringkey, intobject)NativeGlobal

        Associates(and replaces previous association) container object with a string key.
        destroys association if object is zero
        for ex. JDB.setObj("frostfall", frostFallInformation) will associate 'frostall' key and frostFallInformation so you can access it later

      • boolfunctionhasPath(stringpath)NativeGlobal

        Returns true, if JDB capable resolve given @path, i.e. if it able to execute solve* or solver*Setter functions successfully

      • intfunctionallKeys()NativeGlobal

        returns new array containing all JDB keys

      • intfunctionallValues()NativeGlobal

        returns new array containing all containers associated with JDB

      • voidfunctionwriteToFile(stringpath)NativeGlobal

        writes storage data into JSON file at given path

      • intfunctionroot()NativeGlobal

        Returns underlying JDB's container - an instance of JMap.
        The object being owned (retained) internally, so you don't have to (but can) retain or release it.

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