summaryrefslogtreecommitdiff
path: root/modules/gdnative/include/nativescript/godot_nativescript.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-10-01 10:43:22 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-10-01 18:14:38 +0200
commit24a949ea1154a2298e6898c53fdb75178affe098 (patch)
treeba919baf260751a6aa47467d001fc389cf6e60f4 /modules/gdnative/include/nativescript/godot_nativescript.h
parent8be97e3b51f5adbee0f9f5d3193da53680a44695 (diff)
[Net] Rename RPC constants and annotation arguments.
any -> any_peer sync -> call_local ordered -> unreliable_ordered Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
Diffstat (limited to 'modules/gdnative/include/nativescript/godot_nativescript.h')
-rw-r--r--modules/gdnative/include/nativescript/godot_nativescript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/include/nativescript/godot_nativescript.h b/modules/gdnative/include/nativescript/godot_nativescript.h
index 09eac2492f..5390d30c9f 100644
--- a/modules/gdnative/include/nativescript/godot_nativescript.h
+++ b/modules/gdnative/include/nativescript/godot_nativescript.h
@@ -39,7 +39,7 @@ extern "C" {
typedef enum {
GODOT_METHOD_RPC_MODE_DISABLED,
- GODOT_METHOD_RPC_MODE_ANY,
+ GODOT_METHOD_RPC_MODE_ANY_PEER,
GODOT_METHOD_RPC_MODE_AUTHORITY,
} godot_nativescript_method_rpc_mode;