godot/core/io
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
..
compression.cpp
compression.h
config_file.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
config_file.h
dir_access.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
dir_access.h
dtls_server.cpp
dtls_server.h
file_access_compressed.cpp
file_access_compressed.h
file_access_encrypted.cpp
file_access_encrypted.h
file_access_memory.cpp
file_access_memory.h
file_access_network.cpp
file_access_network.h
file_access_pack.cpp
file_access_pack.h
file_access_zip.cpp
file_access_zip.h
file_access.cpp Tests: Improve coverage for File::get_csv_line() 2021-08-04 11:53:21 +02:00
file_access.h
http_client_tcp.cpp
http_client_tcp.h
http_client.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
http_client.h
image_loader.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
image_loader.h
image.cpp
image.h
ip_address.cpp
ip_address.h
ip.cpp [Net] Fix IP address resolution incorrectly locking the main thread. 2021-08-03 00:24:22 +02:00
ip.h
json.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
json.h
logger.cpp
logger.h
marshalls.cpp [Marshalls] Fix Float64Array and Int64Array serialization. 2021-08-02 13:35:33 +02:00
marshalls.h [Net] Fix Marshalls infinite recursion crash. 2021-07-30 16:13:43 +02:00
multiplayer_api.cpp [Net] Basic extensible MultiplayerAPI spawn/despawn. 2021-08-09 16:34:40 +02:00
multiplayer_api.h [Net] Basic extensible MultiplayerAPI spawn/despawn. 2021-08-09 16:34:40 +02:00
multiplayer_peer.cpp [Net] Implement RPC channels in MultiplayerAPI. 2021-07-30 17:29:50 +02:00
multiplayer_peer.h [Net] Implement RPC channels in MultiplayerAPI. 2021-07-30 17:29:50 +02:00
net_socket.cpp
net_socket.h
packed_data_container.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
packed_data_container.h
packet_peer_dtls.cpp
packet_peer_dtls.h
packet_peer_udp.cpp
packet_peer_udp.h
packet_peer.cpp
packet_peer.h
pck_packer.cpp
pck_packer.h
resource_format_binary.cpp skip uid field length in binary resource if not used 2021-07-29 22:25:18 -07:00
resource_format_binary.h Use constant for reserved field count 2021-07-29 22:24:29 -07:00
resource_importer.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
resource_importer.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
resource_loader.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
resource_loader.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
resource_saver.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
resource_saver.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
resource_uid.cpp ResourceUID: Fix remove_id binding 2021-07-25 11:55:56 +02:00
resource_uid.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
resource.cpp OS: Fix used resource debug prints 2021-08-06 11:03:26 +02:00
resource.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
SCsub
stream_peer_ssl.cpp
stream_peer_ssl.h
stream_peer_tcp.cpp
stream_peer_tcp.h
stream_peer.cpp
stream_peer.h
tcp_server.cpp
tcp_server.h
translation_loader_po.cpp
translation_loader_po.h
udp_server.cpp
udp_server.h
xml_parser.cpp
xml_parser.h
zip_io.cpp
zip_io.h