mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Merge pull request #3462 from Calinou/hlm-clarify-cpp-implementation
Clarify that NetworkedMultiplayerPeer cannot be extended via GDScript
This commit is contained in:
@@ -57,7 +57,7 @@ Mid level abstraction
|
||||
Before going into how we would like to synchronize a game across the network, it can be helpful to understand how the base network API for synchronization works.
|
||||
|
||||
Godot uses a mid-level object :ref:`NetworkedMultiplayerPeer <class_NetworkedMultiplayerPeer>`.
|
||||
This object is not meant to be created directly, but is designed so that several implementations can provide it.
|
||||
This object is not meant to be created directly, but is designed so that several C++ implementations can provide it.
|
||||
|
||||
This object extends from :ref:`PacketPeer <class_PacketPeer>`, so it inherits all the useful methods for serializing, sending and receiving data. On top of that, it adds methods to set a peer, transfer mode, etc. It also includes signals that will let you know when peers connect or disconnect.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user