godot/scene/main
Fabio Alessandrelli d4dd859991 [Net] MultiplayerReplicator with initial state.
Move the former "spawnables" functions to a dedicated
MultiplayerReplicator class.
Support custom overrides in replicator.
Spawn/despawn messages can now contain a state.
The state can be automatically encoded/decoded by passing the desired
object properties to `spawnable_config`.
You can use script properties to optimize the state representation.
2 Callables can be also specified to completely override the default
implementation for sending and receiving the spawn/despawn event.
(9 bytes overhead, and there's room for improvement here).
When using a custom implementation `spawn` and `despawn` can be called
with any Object, `send_spawn`/`send_despawn` can receive any Variant as
a state, and the path is not required.

Two new functions, `spawn` and `despawn`, convey the implementation
independent method for requesting a spawn/despawn of an Object, while
`send_spawn` and `send_despawn` represent the more low-level send event
for a Variant to be used by the custom implementations.
2021-08-18 10:21:29 +01:00
..
canvas_item.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
canvas_item.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
canvas_layer.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
canvas_layer.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
http_request.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
http_request.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
instance_placeholder.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
instance_placeholder.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
node.cpp Style: Cleanup code using text_editor/completion/use_single_quotes 2021-08-13 21:27:57 +02:00
node.h [Net] MultiplayerReplicator with initial state. 2021-08-18 10:21:29 +01:00
resource_preloader.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_preloader.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
scene_tree.cpp Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00
scene_tree.h Use doubles for time everywhere in Timer/SceneTree 2021-07-26 02:00:48 -04:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
shader_globals_override.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
shader_globals_override.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
timer.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
timer.h Use doubles for time everywhere in Timer/SceneTree 2021-07-26 02:00:48 -04:00
viewport.cpp Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00
viewport.h Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00
window.cpp fix bug on window notification propagation 2021-08-17 14:07:53 +09:00
window.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00