This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Description
DMTagGroupType : DMType
Motivation
TagGroups are difficult to handle in dm-script. And since they are composed of multiple values,
they cannot be handled with the default DMType.
Definition
Methods
parseForPython(dm_value : Py_TagGroup) -> dict|list # Convert by writing to persistent tags, then return the value of parsePersistentTagGroupValueForPython()
parsePersistentTagGroupValueForPython(path : int|str) -> dict|list # Analyze the structure on dm-script side (not possible with python in GMS <= 3.4), write the structure and types to tags inside the persistent TagGroup, then on python side extract the structure and types and create the TagGroup/TagList from that, for parsing values use their DMTypes
getDMCodeValue(value : T) -> str|None, str, str|None # For Py_TagGroup write to persistent tags, then paste code of loading the persistent tag (travelling through Py_TagGroup not possible), for dict and list create code by travelling through in before code, then return the varaible name as the value, no after code, for parsing values use their DMTypes
writeToPersistentTags(path : int|str, value : Py_TagGroup|dict|list) -> None # For Py_TagGroup copy directly, for others travel through and create, for parsing values use their DMTypes