Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeTunnel/godot-plugin
/ functions
Functions
61 in github.com/NodeTunnel/godot-plugin
⨍
Functions
61
◇
Types & classes
14
↓ 13 callers
Function
push_string
(buf: &mut Vec<u8>, value: &str)
src/src/protocol/serialize.rs:45
↓ 13 callers
Function
read_string
(bytes: &[u8])
src/src/protocol/serialize.rs:30
↓ 8 callers
Function
read_i32
(bytes: &[u8])
src/src/protocol/serialize.rs:9
↓ 7 callers
Function
push_i32
(buf: &mut Vec<u8>, value: i32)
src/src/protocol/serialize.rs:55
↓ 7 callers
Method
send_packet
(&mut self, packet_type: PacketType, channel: Channel)
src/src/relay_client/client.rs:187
↓ 3 callers
Method
is_server
(&self)
src/src/node_tunnel_peer.rs:327
↓ 2 callers
Function
push_bool
(buf: &mut Vec<u8>, value: bool)
src/src/protocol/serialize.rs:51
↓ 2 callers
Function
push_u64
(buf: &mut Vec<u8>, value: u64)
src/src/protocol/serialize.rs:59
↓ 2 callers
Function
read_bool
(bytes: &[u8])
src/src/protocol/serialize.rs:4
↓ 2 callers
Function
read_u64
(bytes: &[u8])
src/src/protocol/serialize.rs:19
↓ 2 callers
Method
try_send_packet
(&mut self, packet: Vec<u8>)
src/src/transport/client.rs:112
↓ 1 callers
Method
close
(&mut self)
src/src/node_tunnel_peer.rs:360
↓ 1 callers
Method
connect
(&mut self, transport: ClientTransport)
src/src/relay_client/client.rs:32
↓ 1 callers
Method
do_resends
(&mut self)
src/src/transport/client.rs:139
↓ 1 callers
Method
flush_pending_packets
(&mut self)
src/src/transport/client.rs:123
↓ 1 callers
Method
handle_packet
(&mut self, data: Vec<u8>, channel: Channel)
src/src/relay_client/client.rs:75
↓ 1 callers
Method
handle_relay_event
(&mut self, event: RelayEvent)
src/src/node_tunnel_peer.rs:147
↓ 1 callers
Method
is_connected
(&self)
src/src/relay_client/client.rs:183
↓ 1 callers
Method
is_connected
(&self)
src/src/transport/client.rs:155
↓ 1 callers
Function
push_vec_room_info
(buf: &mut Vec<u8>, rooms: &[RoomInfo])
src/src/protocol/serialize.rs:85
↓ 1 callers
Function
read_room_info
(bytes: &[u8])
src/src/protocol/serialize.rs:61
↓ 1 callers
Function
read_vec_room_info
(bytes: &[u8])
src/src/protocol/serialize.rs:68
↓ 1 callers
Method
recv_packets
(&mut self)
src/src/transport/client.rs:39
↓ 1 callers
Method
req_auth
(&mut self, app_id: String)
src/src/relay_client/client.rs:112
↓ 1 callers
Method
req_create_room
(&mut self, is_public: bool, metadata: String)
src/src/relay_client/client.rs:124
↓ 1 callers
Method
req_join_room
(&mut self, room_id: String, metadata: String)
src/src/relay_client/client.rs:143
↓ 1 callers
Method
req_rooms
(&mut self)
src/src/relay_client/client.rs:136
↓ 1 callers
Method
req_update_room
(&mut self, room_id: &str, metadata: &str)
src/src/relay_client/client.rs:152
↓ 1 callers
Method
send
(&mut self, data: Vec<u8>, channel: Channel)
src/src/transport/client.rs:89
↓ 1 callers
Method
send_game_data
(&mut self, peer_id: i32, data: Vec<u8>, channel: Channel)
src/src/relay_client/client.rs:174
↓ 1 callers
Method
send_join_response
(&mut self, room_id: String, target_id: u64, allowed: bool)
src/src/relay_client/client.rs:161
↓ 1 callers
Method
send_keepalive
(&mut self)
src/src/transport/client.rs:145
↓ 1 callers
Method
to_bytes
(&self)
src/src/protocol/packet.rs:127
↓ 1 callers
Method
update
(&mut self, delta: Duration)
src/src/relay_client/client.rs:37
↓ 1 callers
Method
update_state
(&mut self)
src/src/relay_client/client.rs:66
Method
connect_to_relay
(&mut self, relay_address: String, app_id: String)
src/src/node_tunnel_peer.rs:59
Method
disconnect_peer
(&mut self, _p_peer: i32, _p_force: bool)
src/src/node_tunnel_peer.rs:370
Method
from_bytes
(bytes: &[u8])
src/src/protocol/packet.rs:31
Method
get_available_packet_count
(&self)
src/src/node_tunnel_peer.rs:256
Method
get_connection_status
(&self)
src/src/node_tunnel_peer.rs:380
Method
get_max_packet_size
(&self)
src/src/node_tunnel_peer.rs:261
Method
get_packet_channel
(&self)
src/src/node_tunnel_peer.rs:289
Method
get_packet_mode
(&self)
src/src/node_tunnel_peer.rs:293
Method
get_packet_peer
(&self)
src/src/node_tunnel_peer.rs:321
Method
get_packet_script
(&mut self)
src/src/node_tunnel_peer.rs:265
Method
get_rooms
(&mut self)
src/src/node_tunnel_peer.rs:108
Method
get_transfer_channel
(&self)
src/src/node_tunnel_peer.rs:305
Method
get_transfer_mode
(&self)
src/src/node_tunnel_peer.rs:313
Method
get_unique_id
(&self)
src/src/node_tunnel_peer.rs:372
Method
host_room
(&mut self, public: bool, metadata: String)
src/src/node_tunnel_peer.rs:97
Method
init
(base: Base<Self::Base>)
src/src/node_tunnel_peer.rs:239
Method
is_server_relay_supported
(&self)
src/src/node_tunnel_peer.rs:376
Method
join_room
( &mut self, host_id: String, #[opt(default="")] metadata: GString, )
src/src/node_tunnel_peer.rs:122
Method
new
()
src/src/relay_client/client.rs:24
Method
new
(server_addr: SocketAddr)
src/src/transport/client.rs:24
Method
poll
(&mut self)
src/src/node_tunnel_peer.rs:331
Method
put_packet_script
(&mut self, p_buffer: PackedByteArray)
src/src/node_tunnel_peer.rs:274
Method
set_target_peer
(&mut self, p_peer: i32)
src/src/node_tunnel_peer.rs:317
Method
set_transfer_channel
(&mut self, p_channel: i32)
src/src/node_tunnel_peer.rs:299
Method
set_transfer_mode
(&mut self, p_mode: TransferMode)
src/src/node_tunnel_peer.rs:309
Method
update_room
(&mut self, metadata: String)
src/src/node_tunnel_peer.rs:137