Files
godot/doc/classes
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
..
2021-08-01 12:49:02 -05:00
2021-07-03 12:11:01 -03:00
2021-08-17 14:38:48 +02:00
2021-08-09 17:41:50 +05:30
2021-06-19 12:08:50 +02:00
2021-06-11 18:48:42 +02:00
2021-06-05 09:28:56 -03:00
2021-06-11 18:48:42 +02:00
2021-08-05 14:57:31 -03:00
2021-08-01 12:49:02 -05:00
2021-06-11 18:48:42 +02:00
2021-08-17 13:52:06 -03:00
2021-02-19 14:39:14 +01:00
2021-07-29 13:51:32 -03:00
2021-06-30 14:14:41 -03:00
2021-08-17 21:11:10 +08:00
2021-07-25 11:21:51 +02:00
2021-08-17 21:11:10 +08:00
2021-06-11 18:48:42 +02:00