Godot::WebRTCMultiplayerPeer
Inherits Godot::MultiplayerPeer < Godot::PacketPeer < Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
add_peer(peer : WebRTCPeerConnection, peer_id : Int64, unreliable_lifetime : Int64) : Int64
Sourcecreate_client(peer_id : Int64, channels_config : Godot::Array) : Int64
Sourcecreate_mesh(peer_id : Int64, channels_config : Godot::Array) : Int64
Sourcecreate_server(channels_config : Godot::Array) : Int64
Sourceget_peer(peer_id : Int64) : Pointer(Void)
Sourceget_peers
Sourcehas_peer(peer_id : Int64) : Bool
Sourceremove_peer(peer_id : Int64) : Void
Source