summaryrefslogtreecommitdiff
path: root/doc/classes/PCKPacker.xml
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-04-28 20:51:29 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-09-05 14:53:39 +0300
commitf043eabdd84a509abf5266bb444d19af3e26b7c6 (patch)
treeb919d337e8edce9be6b1403b29b58707eee478be /doc/classes/PCKPacker.xml
parent52f6ac81be14fe3f7dacb2e2b75d9bf9a668b628 (diff)
Adds PCK encryption support (using script encryption key for export).
Change default encryption mode from ECB to CFB.
Diffstat (limited to 'doc/classes/PCKPacker.xml')
-rw-r--r--doc/classes/PCKPacker.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/PCKPacker.xml b/doc/classes/PCKPacker.xml
index 314869be49..6b500d5ac3 100644
--- a/doc/classes/PCKPacker.xml
+++ b/doc/classes/PCKPacker.xml
@@ -23,6 +23,8 @@
</argument>
<argument index="1" name="source_path" type="String">
</argument>
+ <argument index="2" name="encrypt" type="bool" default="false">
+ </argument>
<description>
Adds the [code]source_path[/code] file to the current PCK package at the [code]pck_path[/code] internal path (should start with [code]res://[/code]).
</description>
@@ -43,6 +45,10 @@
</argument>
<argument index="1" name="alignment" type="int" default="0">
</argument>
+ <argument index="2" name="key" type="String" default="&quot;&quot;">
+ </argument>
+ <argument index="3" name="encrypt_directory" type="bool" default="false">
+ </argument>
<description>
Creates a new PCK file with the name [code]pck_name[/code]. The [code].pck[/code] file extension isn't added automatically, so it should be part of [code]pck_name[/code] (even though it's not required).
</description>