diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-07-27 12:06:48 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-07-30 17:29:50 +0200 |
commit | 2cf39b97ae326a28015b67221b928e4861380d29 (patch) | |
tree | 12d05483c198a7387768a6739fedbf143bd1ae0d /modules/gdnative/include | |
parent | c27ef1565ff44eaacc081081b6b21b23665fbe10 (diff) |
[Net] Implement RPC channels in MultiplayerAPI.
Diffstat (limited to 'modules/gdnative/include')
-rw-r--r-- | modules/gdnative/include/net/godot_net.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdnative/include/net/godot_net.h b/modules/gdnative/include/net/godot_net.h index 94e7739ef9..3fb7b9e1cc 100644 --- a/modules/gdnative/include/net/godot_net.h +++ b/modules/gdnative/include/net/godot_net.h @@ -91,6 +91,8 @@ typedef struct { godot_int (*get_max_packet_size)(const void *); /* This is MultiplayerPeer */ + void (*set_transfer_channel)(void *, godot_int); + godot_int (*get_transfer_channel)(void *); void (*set_transfer_mode)(void *, godot_int); godot_int (*get_transfer_mode)(const void *); // 0 = broadcast, 1 = server, <0 = all but abs(value) |