From fe0696618163de1f329ce380612ed133af58a498 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 7 Dec 2019 01:05:11 +0100 Subject: Make some arguments in PCKPacker methods optional Those arguments aren't required for most common use cases, so making them optional should help with code readability. --- doc/classes/PCKPacker.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/classes/PCKPacker.xml b/doc/classes/PCKPacker.xml index ff45ca925c..1946438cc2 100644 --- a/doc/classes/PCKPacker.xml +++ b/doc/classes/PCKPacker.xml @@ -6,9 +6,9 @@ The [PCKPacker] is used to create packages in application runtime. [codeblock] var packer = PCKPacker.new() - packer.pck_start("test.pck", 0) + packer.pck_start("test.pck") packer.add_file("res://text.txt", "text.txt") - packer.flush(false) + packer.flush() [/codeblock] The above [PCKPacker] creates package [b]test.pck[/b], then adds a file named [b]text.txt[/b] in the root of the package. @@ -29,7 +29,7 @@ - + @@ -39,7 +39,7 @@ - + -- cgit v1.2.3