Modding:TreeAttribute/ru: Difference between revisions
From Vintage Story Wiki
Mirotworez (talk | contribs) (Created page with "Моддинг:Дерево атрибутов") |
Mirotworez (talk | contribs) (Created page with "TreeAttribute — это вложенная структура данных, основной целью которой является хранение данных. Он м...") |
||
Line 1: | Line 1: | ||
{{GameVersion|1.15}} | {{GameVersion|1.15}} | ||
<languages/> | <languages/>TreeAttribute — это вложенная структура данных, основной целью которой является хранение данных. Он может содержать общие данные для большинства примитивов, таких как int, string, float, а также для более сложных типов, таких как ItemStacks и другие TreeAttributes (отсюда и вложенная структура). | ||
Additionally you can store data as <code>byte[]</code> if it is not supported by the TreeAttribute itself (for this you could use <code>Vintagestory.API.Util.SerializerUtil</code>). | Additionally you can store data as <code>byte[]</code> if it is not supported by the TreeAttribute itself (for this you could use <code>Vintagestory.API.Util.SerializerUtil</code>). |