godot/core
Fabio Alessandrelli 9fcf3b5a9c [Net] Basic extensible MultiplayerAPI spawn/despawn.
`PackedScene`s can be configured to be spawnable via a new
`MultiplayerAPI.spawnable_config` method.
They can be configured either to be spawned automatically when coming
from the server or to always require verification.
Another method, `MultiplayerAPI.send_spawn` lets you request a spawn on
the remote peers.
When a peer receive a spawn request:
- If it comes from the server and the scene is configured as
  `SPAWN_MODE_SERVER`:
  - Spawn the scene (instantiate it, add it to tree).
  - Emit signal `network_spawn`.
- Else:
  - Emit signal `network_spawn_request`.

In a similar way, `despawn`s are handled automatically in
`SPAWN_MODE_SERVER`.

In `SPAWN_MODE_SERVER`, when a new client connects it will also receive,
from the server all the spawned (and not yet despawned) instances.
2021-08-09 16:34:40 +02:00
..
config Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
crypto
debugger Merge pull request #50454 from Ev1lbl0w/gsoc21-dap 2021-08-03 17:12:37 +02:00
error
extension Change Variant bool conversion to uint8_t 2021-07-27 09:00:56 -03:00
input Fix action_get_events returning booleans instead of InputKey entries 2021-08-07 21:17:55 +02:00
io [Net] Basic extensible MultiplayerAPI spawn/despawn. 2021-08-09 16:34:40 +02:00
math [Text Server] Improve object (image/table) inline alignment. 2021-08-08 22:35:47 +03:00
object Merge pull request #48615 from Razoric480/lsp-rename 2021-08-05 00:18:31 +02:00
os OS: Fix used resource debug prints 2021-08-06 11:03:26 +02:00
string Merge pull request #51395 from angad-k/pseudolocalization-squashed 2021-08-08 17:55:30 +02:00
templates Fix Set range iterator implementation 2021-07-27 02:48:28 +02:00
variant [Text Server] Improve object (image/table) inline alignment. 2021-08-08 22:35:47 +03:00
core_bind.cpp [Core] Expose ResourceLoader.get_resource_uid. 2021-08-09 16:26:56 +02:00
core_bind.h [Core] Expose ResourceLoader.get_resource_uid. 2021-08-09 16:26:56 +02:00
core_builders.py
core_constants.cpp [Text Server] Improve object (image/table) inline alignment. 2021-08-08 22:35:47 +03:00
core_constants.h
core_string_names.cpp
core_string_names.h
doc_data.cpp
doc_data.h Add theme item descriptions to the online documentation 2021-08-04 22:27:10 +03:00
register_core_types.cpp Fix various typos with codespell 2021-07-25 11:21:51 +02:00
register_core_types.h
SCsub
typedefs.h
version.h