summaryrefslogtreecommitdiff
path: root/modules/gdnative/include/net/godot_net.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-04 09:31:33 +0200
committerGitHub <noreply@github.com>2021-08-04 09:31:33 +0200
commit0cee8831b25377567bff8f46f7eaad8cb203dbf8 (patch)
treebbd8ee9a8f33ebbad626195e80cd5d81a5cd4d9f /modules/gdnative/include/net/godot_net.h
parent7eedc2c34822f9b14f04e6866e73626959f6d647 (diff)
parent2cf39b97ae326a28015b67221b928e4861380d29 (diff)
Merge pull request #51005 from Faless/mp/4.x_channels
[Net] Implement RPC channels in MultiplayerAPI.
Diffstat (limited to 'modules/gdnative/include/net/godot_net.h')
-rw-r--r--modules/gdnative/include/net/godot_net.h2
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)