Function SceneTree.multiplayerPoll
If true
(default value), enables automatic polling of the MultiplayerAPI
for this SceneTree during idleFrame
.
If false
, you need to manually call MultiplayerAPI
to process network packets and deliver RPCs/RSETs. This allows running RPCs/RSETs in a different loop (e.g. physics, thread, specific time step) and for manual Mutex
protection when accessing the MultiplayerAPI
from threads.
bool multiplayerPoll() nothrow @property @nogc;
void multiplayerPoll
(
bool v
) nothrow @property @nogc;