summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-03-28 09:52:31 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-04-01 15:53:08 +0200
commit53ab3a1ba92237a15ce74b7b35ce78c1defbfa47 (patch)
tree25ba69a34d2598ab8bb9cbd4c89c705a65a91b28 /doc/classes
parente61a074a8e7cc6f4a5435ca8e96a82e3fed917e6 (diff)
Multiplayer API now respects allow_object_decoding
Add doc about allow_object_decoding in PacketPeer
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/PacketPeer.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/PacketPeer.xml b/doc/classes/PacketPeer.xml
index a4cf0c8029..41f5eaf555 100644
--- a/doc/classes/PacketPeer.xml
+++ b/doc/classes/PacketPeer.xml
@@ -60,6 +60,8 @@
</methods>
<members>
<member name="allow_object_decoding" type="bool" setter="set_allow_object_decoding" getter="is_object_decoding_allowed">
+ If [code]true[/code] the PacketPeer will allow encoding and decoding of object via [method get_var] and [method put_var].
+ [b]WARNING:[/b] Deserialized object can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats (remote code execution).
</member>
</members>
<constants>