class

Godot::WebRTCMultiplayerPeer

Inherits Godot::MultiplayerPeer < Godot::PacketPeer < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_peer(peer : WebRTCPeerConnection, peer_id : Int64, unreliable_lifetime : Int64) : Int64
Source
create_client(peer_id : Int64, channels_config : Godot::Array) : Int64
Source
create_mesh(peer_id : Int64, channels_config : Godot::Array) : Int64
Source
create_server(channels_config : Godot::Array) : Int64
Source
get_peer(peer_id : Int64) : Pointer(Void)
Source
get_peers
Source
has_peer(peer_id : Int64) : Bool
Source
remove_peer(peer_id : Int64) : Void
Source