MultiplayerPeer
Inherits: PacketPeer < RefCounted < Object
Inherited By: ENetMultiplayerPeer, MultiplayerPeerExtension, OfflineMultiplayerPeer, WebRTCMultiplayerPeer, WebSocketMultiplayerPeer
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
Methods
void |
close ( ) |
void |
disconnect_peer ( int peer, bool force=false ) |
generate_unique_id ( ) const |
|
get_connection_status ( ) const |
|
get_packet_channel ( ) const |
|
get_packet_mode ( ) const |
|
get_packet_peer ( ) const |
|
get_unique_id ( ) const |
|
is_server_relay_supported ( ) const |
|
void |
poll ( ) |
void |
set_target_peer ( int id ) |
Signals
peer_connected ( int id )
There is currently no description for this signal. Please help us by contributing one!
peer_disconnected ( int id )
There is currently no description for this signal. Please help us by contributing one!
Enumerations
enum ConnectionStatus:
ConnectionStatus CONNECTION_DISCONNECTED = 0
There is currently no description for this enum. Please help us by contributing one!
ConnectionStatus CONNECTION_CONNECTING = 1
There is currently no description for this enum. Please help us by contributing one!
ConnectionStatus CONNECTION_CONNECTED = 2
There is currently no description for this enum. Please help us by contributing one!
enum TransferMode:
TransferMode TRANSFER_MODE_UNRELIABLE = 0
There is currently no description for this enum. Please help us by contributing one!
TransferMode TRANSFER_MODE_UNRELIABLE_ORDERED = 1
There is currently no description for this enum. Please help us by contributing one!
TransferMode TRANSFER_MODE_RELIABLE = 2
There is currently no description for this enum. Please help us by contributing one!
Constants
TARGET_PEER_BROADCAST = 0
There is currently no description for this constant. Please help us by contributing one!
TARGET_PEER_SERVER = 1
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions
bool refuse_new_connections = false
There is currently no description for this property. Please help us by contributing one!
int transfer_channel = 0
There is currently no description for this property. Please help us by contributing one!
TransferMode transfer_mode = 2
void set_transfer_mode ( TransferMode value )
TransferMode get_transfer_mode ( )
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void close ( )
There is currently no description for this method. Please help us by contributing one!
void disconnect_peer ( int peer, bool force=false )
There is currently no description for this method. Please help us by contributing one!
int generate_unique_id ( ) const
There is currently no description for this method. Please help us by contributing one!
ConnectionStatus get_connection_status ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_packet_channel ( ) const
There is currently no description for this method. Please help us by contributing one!
TransferMode get_packet_mode ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_packet_peer ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_unique_id ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_server_relay_supported ( ) const
There is currently no description for this method. Please help us by contributing one!
void poll ( )
There is currently no description for this method. Please help us by contributing one!
void set_target_peer ( int id )
There is currently no description for this method. Please help us by contributing one!