1
0
Fork 0
godot/modules/gdscript
Fabio Alessandrelli ddb68f76ff [Net] Single `rpc` annotation. "sync" no longer part of mode.
- Move the "sync" property for RPCs to RPCConfig.

- Unify GDScript annotations into a single one:
  - `@rpc(master)` # default
  - `@rpc(puppet)`
  - `@rpc(any)` # former `@remote`

- Implement three additional `@rpc` options:
  - The second parameter is the "sync" option (which also calls the
    function locally when RPCing). One of "sync", "nosync".
  - The third parameter is the transfer mode (reliable, unreliable,
    ordered).
  - The third parameter is the channel (unused for now).
2021-07-20 11:17:59 +02:00
..
doc_classes Rename `instance()`->`instantiate()` when it's a verb 2021-06-19 20:49:18 -06:00
editor Optimize StringName usage 2021-07-18 21:20:02 -03:00
icons
language_server [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
tests Rename `instance()`->`instantiate()` when it's a verb 2021-06-19 20:49:18 -06:00
SCsub
config.py
gdscript.cpp [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript.h [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_analyzer.cpp Rename `instance()`->`instantiate()` when it's a verb 2021-06-19 20:49:18 -06:00
gdscript_analyzer.h
gdscript_byte_codegen.cpp [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_byte_codegen.h [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_cache.cpp Rename `instance()`->`instantiate()` when it's a verb 2021-06-19 20:49:18 -06:00
gdscript_cache.h
gdscript_codegen.h [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_compiler.cpp [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_compiler.h
gdscript_disassembler.cpp
gdscript_editor.cpp Remove singleton variable shadowing. 2021-06-30 02:37:20 -07:00
gdscript_function.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
gdscript_function.h [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_lambda_callable.cpp
gdscript_lambda_callable.h
gdscript_parser.cpp [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_parser.h [Net] Single `rpc` annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_tokenizer.cpp
gdscript_tokenizer.h
gdscript_utility_functions.cpp
gdscript_utility_functions.h
gdscript_vm.cpp
gdscript_warning.cpp
gdscript_warning.h
register_types.cpp Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
register_types.h