NetworkedMultiplayerPeer¶
Inherits: PacketPeer < Reference < Object
Inherited By: NetworkedMultiplayerENet
Category: Core
Brief Description¶
Member Functions¶
int | get_connection_status ( ) const |
int | get_packet_peer ( ) const |
int | get_unique_id ( ) const |
bool | is_refusing_new_connections ( ) const |
void | poll ( ) |
void | set_refuse_new_connections ( bool enable ) |
void | set_target_peer ( int id ) |
void | set_transfer_mode ( int mode ) |
Signals¶
Numeric Constants¶
- TRANSFER_MODE_UNRELIABLE = 0
- TRANSFER_MODE_UNRELIABLE_ORDERED = 1
- TRANSFER_MODE_RELIABLE = 2
- CONNECTION_DISCONNECTED = 0
- CONNECTION_CONNECTING = 1
- CONNECTION_CONNECTED = 2
- TARGET_PEER_BROADCAST = 0
- TARGET_PEER_SERVER = 1