Easily chain accessors in a visual way with two functions.
ds_get_s: Use a string to traverse data structures, spaces separating values, formatted as such:
value = ds_get_s(map, "?list |0 #5,5 ?testKey @4");
ds_get: More efficient function, uses a accessor,parameter sequence of arguments.
value = ds_get(map, "?", "list", "|", 0, "#", 5, 5, "?", "testKey", "@", 4);
To make this function even faster, the string accessors can be replaced with the ds_type_* constants where appropriate
Version 1.0.0. Published December 4, 2016
Created with GameMaker: Studio v1.99.505
You can only review assets you've bought.
going to add it in every project i have now :D
but it's a plagiarism of my Asset
Sorry - Providing useful features that are common in many other languages and essential to utilizing data structures in GM is not plagiarism. The idea of accessing embedded data structures is not original at all. Best of luck selling your asset and feel free to do a performance test between the two :)