Skip to content

Commit aba54ef

Browse files
author
Roberto De Ioris
authored
Update DataTable_API.md
1 parent 8739c04 commit aba54ef

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/DataTable_API.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# The DataTable API
22

3+
DataTables allows you to store (as an asset) a "list" (or better a dictionary) of structures.
4+
5+
A DataTable is assigned to a UStruct, and then it can be filled with rows.
6+
7+
Each row has a unique name and a value. That value is a structure of the DataTable-associated UStruct.
8+
9+
So if you have a 'FWeaponStruct', you can build a DataTable full of 'FWeaponStruct's (one per-row)
10+
11+
You can create a DataTable (in addition to creating it directly from the content browser) directly from python:
12+
13+
```python
14+
```
15+
316
data_table_add_row(row_name, struct)
417

518
data_table_remove_row(row_name)

0 commit comments

Comments
 (0)