From 48f4b41b738726b3a7499139ebb53f9c833557e8 Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Sat, 2 May 2020 20:58:59 +0100 Subject: [PATCH 1/4] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7278ed9..9687a37 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,16 @@ Unpacks binary encoded struct/array data. An `[offset]` and total `[size]` for t ### snap_deep_copy(struct/array) +Returns a copy of a struct or array, including a copy of any nested structs and arrays. +   ### snap_difference(old, new) +Returns a data structure (itself made from structs and arrays) that describes the difference between two structs/arrays. +   ### snap_difference_apply(struct/array, differenceStruct) + +Applies a difference delta structure created by `snap_difference()` to a struct/array. From 6625d24b38ce00c4d4657acb89a0ff0e7c42783e Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Sat, 2 May 2020 21:00:11 +0100 Subject: [PATCH 2/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9687a37..3a0150e 100644 --- a/README.md +++ b/README.md @@ -36,13 +36,13 @@ Unpacks binary encoded struct/array data. An `[offset]` and total `[size]` for t ### snap_deep_copy(struct/array) -Returns a copy of a struct or array, including a copy of any nested structs and arrays. +Returns a copy of the given `struct/array`, including a copy of any nested structs and arrays.   ### snap_difference(old, new) -Returns a data structure (itself made from structs and arrays) that describes the difference between two structs/arrays. +Returns a data structure (itself made from structs/arrays) that describes the difference between the specified `old` and `new` struct/arrays.   From 101dd6eafffb707e5f7be86274f8f9fe2d950b2f Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Sat, 2 May 2020 21:00:27 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a0150e..aa61379 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

SNAP: Struct N' Array Parser 2.0.0

+

SNAP: Struct N' Array Parser 2.1.0

Replacement for ds_map/ds_list-based JSON encoding/decoding

From 0b5e050ccd8cd6283c3643e5303ab36693e8dcc2 Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Sat, 2 May 2020 21:04:49 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index aa61379..43a122b 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,5 @@ Returns a data structure (itself made from structs/arrays) that describes the di ### snap_difference_apply(struct/array, differenceStruct) Applies a difference delta structure created by `snap_difference()` to a struct/array. + +**N.B.** Due to missing functionality in GMS2.3.0, array element and struct variable deletion is not fully functional. Instead, when an array element or struct variable is deleted, the value will be set to `undefined`.