diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-04 09:31:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 09:31:33 +0200 |
commit | 0cee8831b25377567bff8f46f7eaad8cb203dbf8 (patch) | |
tree | bbd8ee9a8f33ebbad626195e80cd5d81a5cd4d9f /modules/gdnative/include/net/godot_net.h | |
parent | 7eedc2c34822f9b14f04e6866e73626959f6d647 (diff) | |
parent | 2cf39b97ae326a28015b67221b928e4861380d29 (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.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) |