class

Godot::ENetMultiplayerPeer

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

Constructors

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

Instance methods

add_mesh_peer(peer_id : Int64, host : ENetConnection) : Int64
Source
create_client(address : String, port : Int64, channel_count : Int64, in_bandwidth : Int64, out_bandwidth : Int64, local_port : Int64) : Int64
Source
create_mesh(unique_id : Int64) : Int64
Source
create_server(port : Int64, max_clients : Int64, max_channels : Int64, in_bandwidth : Int64, out_bandwidth : Int64) : Int64
Source
get_host
Source
get_peer(id : Int64) : ENetPacketPeer
Source
host

Property host getter

Source
set_bind_ip(ip : String) : Void
Source