Function MultiplayerAPI.allowObjectDecoding
If true
(or if the networkPeer
has PacketPeer
set to true
), the MultiplayerAPI will allow encoding and decoding of object during RPCs/RSETs.
Warning: Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution.
bool allowObjectDecoding() nothrow @property @nogc;
void allowObjectDecoding
(
bool v
) nothrow @property @nogc;