Skip to content

Folder_Collections

Caleb Serafin edited this page Nov 7, 2020 · 2 revisions

Collections

Full path : A3-Antistasi/functions/Collections
Parent : functions


Functions

class Punishment

Name Description
getNestedObject Exactly the same as nesting getVariables
remNestedObject Recursively deletes nested child objects
setNestedObject Exactly the same as nesting getVariables & setVariable to find the final object to setVariable

NestedObject

Summary

  • Is a Linked Dictionary
  • Feels like using setVariable & getVariable;
  • Ability to create nested data object trees.
  • Nested Data object trees are speedier to access and update than using arrays.
  • Support for self-referencing trees (Shouldn't be a usual use case, but it works with them fine.)

What does this solve?

  • Standard way of using large global data sets.
  • Can be used to optimise/pre-cache commonly accessed data.

Author: Caleb Serafin
Date Updated: 07 November 2020
License: MIT License, Copyright (c) 2019 Barbolani & The Official AntiStasi Community