virtualx-engine/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 [Crypto] Delete mbedtls ctx in deconstructor. 2021-07-03 16:12:55 +02:00
debugger Merge pull request #50454 from Ev1lbl0w/gsoc21-dap 2021-08-03 17:12:37 +02:00
error Modernize atomics 2021-02-18 17:12:46 +01:00
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 Update AUTHORS and DONORS list 2020-08-14 00:06:51 +02:00
core_constants.cpp [Text Server] Improve object (image/table) inline alignment. 2021-08-08 22:35:47 +03:00
core_constants.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.cpp Removed _change_notify 2021-02-10 19:31:24 -03:00
core_string_names.h Removed _change_notify 2021-02-10 19:31:24 -03:00
doc_data.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
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 Implement native extension system 2021-06-25 17:32:45 -03:00
SCsub Implement native extension system 2021-06-25 17:32:45 -03:00
typedefs.h Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
version.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00