class

Godot::MultiplayerPeer

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

Constructors

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

Instance methods

close
Source
disconnect_peer(peer : Int64, force : Bool) : Void
Source
generate_unique_id
Source
get_connection_status
Source
get_packet_channel
Source
get_packet_mode
Source
get_packet_peer
Source
get_transfer_channel
Source
get_transfer_mode
Source
get_unique_id
Source
is_refusing_new_connections
Source
is_server_relay_supported
Source
poll
Source
refuse_new_connections

Property refuse_new_connections getter

Source
refuse_new_connections=(val)

Property refuse_new_connections setter

Source
refuse_new_connections?
Source
set_refuse_new_connections(enable : Bool) : Void
Source
set_target_peer(id : Int64) : Void
Source
set_transfer_channel(channel : Int64) : Void
Source
set_transfer_mode(mode : Int64) : Void
Source
transfer_channel

Property transfer_channel getter

Source
transfer_channel=(val : Int)

Property transfer_channel setter

Source
transfer_mode

Property transfer_mode getter

Source
transfer_mode=(val : Int)

Property transfer_mode setter

Source

Nested types