Merge pull request #3462 from Calinou/hlm-clarify-cpp-implementation

Clarify that NetworkedMultiplayerPeer cannot be extended via GDScript
This commit is contained in:
Max Hilbrunner
2020-04-28 14:58:37 +02:00
committed by GitHub
@@ -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.