SKYRIM
JContainers - data structures and storage by silvericed
Skyrim » Modders resources and tutorials
Added: 10/01/2014 - 10:23PM
Updated: 30/03/2014 - 12:48PM

12 Endorsements

0.63 Latest version

233 Unique D/Ls

265 Total D/Ls

5,135 Total Views

Uploaded by silvericed

Description

Last updated at 12:48, 30 Mar 2014 Uploaded at 22:23, 10 Jan 2014

This is SKSE plugin that features various data structures for Papyrus programmers

Motivation

Papyrus provides almost no usable data containers
There is no possibility to have nested data structures (arrays inside array/map and such)
Store a slight complex data inside a script is a pain and there is even more pain as no way to change data structure later

Description

Mod implements mutable objects-containers :
JMap - associative key-value container
JArray - just a simple array
JDB - single, global object.

Key features:
- all containers are capable to store anything inside - number, string, form or another container
- export or import container data into human readable JSON format
- path resolving: access you data easily with ".youModName.playerData.arrayOfNumbers[10]" like paths
- thread safety: keep your data safe when two or more threads trying to write into one object

Documenation & Examples

https://docs.google.com/document/d/1Bzc-X5LezzPtSWi8cNFrzryOBeS5mx63R5eoaAjXAdc/pub

List of mods using this plugin

Druids Den - Collectors Edition

Permissions

In order to be sure that users using latest version you may not (unless given explicit permission) bundle this plugin into your modification.

Credits

skse team
boost framework authors
cJSON library authors
credits to Saerileth and Gooser, without your interest that project would not move forward