Confirmedusers, Bureaucrats, editor, Administrators
1,778
edits
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
To use TreeAttribute, add the using statement for '''Vintagestory.API.Datastructures'''.<br><br> | To use TreeAttribute, add the using statement for '''Vintagestory.API.Datastructures'''.<br><br> | ||
== Use in API == | == Use in API == | ||
Within the API, TreeAttribute is often employed to store persistent entity data, and to access data extracted from JSON files. | Within the API, TreeAttribute is often employed to store persistent entity data, and to access data extracted from JSON files. '''TreeAttribute''' is often supplied as the interface '''ITreeAttribute'''.<br> | ||
'''TreeAttribute''' is often supplied as the interface '''ITreeAttribute'''.<br> | |||
== Example in code == | == Example in code == |