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.poll 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.

  1. bool multiplayerPoll [@property getter]
    struct SceneTree
    @nogc nothrow @property
    bool
    multiplayerPoll
    ()
  2. bool multiplayerPoll [@property setter]

Meta