ed20465f39
Co-authored-by: VAILLANT Jeremy <vaillant.jeremy@dev-crea.com> Reviewed-on: Athena/game-source#60 Co-authored-by: darknight <vaillant.jeremy@dev-crea.com> Co-committed-by: darknight <vaillant.jeremy@dev-crea.com>
12 lines
222 B
GDScript
12 lines
222 B
GDScript
extends Node
|
|
|
|
var table = null
|
|
|
|
func _get_data(datas, index):
|
|
return datas[index].get_data()
|
|
|
|
func _set_data(prop_id, row_id, data):
|
|
table.edit_data(prop_id, row_id, String(data))
|
|
Global.database.save_db()
|
|
return data
|