Change write method to accept both String and PoolByteArray

Will print a warning if neither of these types is used as an argument.


Former-commit-id: 57aed28a0e
This commit is contained in:
Leroy Hopson 2020-09-25 13:12:31 +07:00
parent 11657d50f7
commit 2a5e07aa48
3 changed files with 30 additions and 3 deletions

View file

@ -58,7 +58,7 @@ namespace godot
void _gui_input(Variant event);
void _draw();
void write(PoolByteArray bytes);
void write(Variant data);
int rows;
int cols;