Modding:TreeAttribute: Difference between revisions

From Vintage Story Wiki
no edit summary
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.<br>
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 ==  
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits