Modding:TreeAttribute: Difference between revisions

From Vintage Story Wiki
no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
= TreeAttribute =
A TreeAttribute is a nested data structure whose primary purpose is to store data.<br>
'''Tree attribute is a nested data structure.'''<br>
It can hold generic data for most primitives, such as int, string, float, etc. This data can be stored and accessed using a key or index.<br>
TreeAttribute can hold generic data for most primitives, such as int, string, float, etc. This data can be stored and accessed using a key or index.<br>
It is also possible to serialize data and store it as a byte array. See [[data serialization]].<br>
It is also possible to serialize data and store it as a byte array. See [[data serialization]].<br>


Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits