godot/core
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
..
config Rename iterations_per_second to physics_ticks_per_second 2021-08-11 02:37:02 +02:00
crypto [Crypto] Delete mbedtls ctx in deconstructor. 2021-07-03 16:12:55 +02:00
debugger Use doubles for time in many other places 2021-08-09 14:05:42 -05:00
error Add error_string function 2021-04-27 22:02:35 +02:00
extension Properly set up virtual calls for extensions 2021-08-17 22:11:11 -03:00
input Fix input methods returning zero strength when pressed status not requested 2021-08-16 00:53:01 -04:00
io [Net] MultiplayerReplicator with initial state. 2021-08-18 10:21:29 +01:00
math Merge pull request #51368 from TwistedTwigleg/GSOC_2020_Working_Branch_IK_SQUASHED 2021-08-16 15:37:17 +02:00
object Properly set up virtual calls for extensions 2021-08-17 22:11:11 -03:00
os Add partial support for Android scoped storage. 2021-08-16 23:11:56 -07:00
string String: Fix default decimals truncation in num and num_real 2021-08-18 00:48:03 +02:00
templates Add the possibility to initialize the classes allocated with the PagedAllocator 2021-08-14 09:04:31 +02:00
variant Fixes to tests for Variant and Geometry3D 2021-08-17 16:46:08 -05:00
core_bind.cpp Merge pull request #51793 from KoBeWi/direnam 2021-08-17 16:06:30 +02:00
core_bind.h Add partial support for Android scoped storage. 2021-08-16 23:11:56 -07:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:06:51 +02:00
core_constants.cpp Use Key enum instead of plain integers 2021-08-10 16:26:55 -05: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 [Net] MultiplayerReplicator with initial state. 2021-08-18 10:21:29 +01: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