godot/modules/gdscript
Fabio Alessandrelli 64b9f30b92 [Net] Rename RPC "puppet" to "auth" (authority). Drop "master".
This commit completely removes the RPC_MODE_MASTER ("master" keyword),
and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword).

This commit also renames the "Node.[get|set]_network_master" methods to
"Node.[get|set]_network_authority".

This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY.

RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by
any puppet peer on the master, while RPC_MODE_PUPPET meant that it would
be callable by the master on any puppet.

Beside proving to be very confusing to the user (referring to where it
could be called instead of who can call it) the RPC_MODE_MASTER is quite
useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with
the exception that the network master cannot. While this could be useful
to check in some case, in such a function you would anyway need to check
in code who is the caller via get_rpc_sender_id(), so adding the check
there for those rare cases does not warrants a dedicated mode.
2021-08-30 00:54:38 +02:00
..
doc_classes doc: Use self-closing tags for return and argument 2021-07-30 15:29:52 +02:00
editor Use OrderedHashMap for autoloads to preserve order 2021-08-26 21:55:26 -07:00
icons
language_server Style: Cleanup code using text_editor/completion/use_single_quotes 2021-08-13 21:27:57 +02:00
tests Merge pull request #52164 from mhilbrunner/gd-style-fixup 2021-08-28 20:16:17 +02:00
config.py
gdscript_analyzer.cpp GDScript: Make singleton functions be seen as static 2021-08-20 10:52:58 -03:00
gdscript_analyzer.h GDScript: Fix issue when calling new() on its own 2021-08-18 18:56:21 -03:00
gdscript_byte_codegen.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04: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 Fix crash when failing to load script from cache 2021-08-16 16:27:25 -07: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 GDScript: Fix memory leak when using self class as type 2021-08-18 18:58:45 -03:00
gdscript_compiler.h
gdscript_disassembler.cpp
gdscript_editor.cpp Use OrderedHashMap for autoloads to preserve order 2021-08-26 21:55:26 -07:00
gdscript_function.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
gdscript_function.h Remove underscore hacks 2021-08-17 16:10:28 +02:00
gdscript_lambda_callable.cpp
gdscript_lambda_callable.h
gdscript_parser.cpp [Net] Rename RPC "puppet" to "auth" (authority). Drop "master". 2021-08-30 00:54:38 +02:00
gdscript_parser.h Remove underscore hacks 2021-08-17 16:10:28 +02:00
gdscript_tokenizer.cpp Reorganise text editor settings 2021-08-16 17:18:49 +01:00
gdscript_tokenizer.h
gdscript_utility_functions.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
gdscript_utility_functions.h
gdscript_vm.cpp Fix initialization of objects in VariantInternal 2021-08-19 20:19:47 -03:00
gdscript_warning.cpp
gdscript_warning.h
gdscript.cpp Remove underscore hacks 2021-08-17 16:10:28 +02:00
gdscript.h [Net] Single rpc annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
register_types.cpp Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
register_types.h
SCsub