ENetPacketPeer

Inherits: PacketPeer < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Methods

int

get_channels ( ) const

String

get_remote_address ( ) const

int

get_remote_port ( ) const

PeerState

get_state ( ) const

float

get_statistic ( PeerStatistic statistic )

bool

is_active ( ) const

void

peer_disconnect ( int data=0 )

void

peer_disconnect_later ( int data=0 )

void

peer_disconnect_now ( int data=0 )

void

ping ( )

void

ping_interval ( int ping_interval )

void

reset ( )

Error

send ( int channel, PackedByteArray packet, int flags )

void

set_timeout ( int timeout, int timeout_min, int timeout_max )

void

throttle_configure ( int interval, int acceleration, int deceleration )


Enumerations

enum PeerState:

PeerState STATE_DISCONNECTED = 0

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_CONNECTING = 1

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_ACKNOWLEDGING_CONNECT = 2

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_CONNECTION_PENDING = 3

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_CONNECTION_SUCCEEDED = 4

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_CONNECTED = 5

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_DISCONNECT_LATER = 6

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_DISCONNECTING = 7

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_ACKNOWLEDGING_DISCONNECT = 8

There is currently no description for this enum. Please help us by contributing one!

PeerState STATE_ZOMBIE = 9

There is currently no description for this enum. Please help us by contributing one!


enum PeerStatistic:

PeerStatistic PEER_PACKET_LOSS = 0

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_LOSS_VARIANCE = 1

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_LOSS_EPOCH = 2

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_ROUND_TRIP_TIME = 3

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_ROUND_TRIP_TIME_VARIANCE = 4

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_LAST_ROUND_TRIP_TIME = 5

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_LAST_ROUND_TRIP_TIME_VARIANCE = 6

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_THROTTLE = 7

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_THROTTLE_LIMIT = 8

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_THROTTLE_COUNTER = 9

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_THROTTLE_EPOCH = 10

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_THROTTLE_ACCELERATION = 11

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_THROTTLE_DECELERATION = 12

There is currently no description for this enum. Please help us by contributing one!

PeerStatistic PEER_PACKET_THROTTLE_INTERVAL = 13

There is currently no description for this enum. Please help us by contributing one!


Constants

PACKET_LOSS_SCALE = 65536

There is currently no description for this constant. Please help us by contributing one!

PACKET_THROTTLE_SCALE = 32

There is currently no description for this constant. Please help us by contributing one!

FLAG_RELIABLE = 1

There is currently no description for this constant. Please help us by contributing one!

FLAG_UNSEQUENCED = 2

There is currently no description for this constant. Please help us by contributing one!

FLAG_UNRELIABLE_FRAGMENT = 8

There is currently no description for this constant. Please help us by contributing one!


Method Descriptions

int get_channels ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_remote_address ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_remote_port ( ) const

There is currently no description for this method. Please help us by contributing one!


PeerState get_state ( ) const

There is currently no description for this method. Please help us by contributing one!


float get_statistic ( PeerStatistic statistic )

There is currently no description for this method. Please help us by contributing one!


bool is_active ( ) const

There is currently no description for this method. Please help us by contributing one!


void peer_disconnect ( int data=0 )

There is currently no description for this method. Please help us by contributing one!


void peer_disconnect_later ( int data=0 )

There is currently no description for this method. Please help us by contributing one!


void peer_disconnect_now ( int data=0 )

There is currently no description for this method. Please help us by contributing one!


void ping ( )

There is currently no description for this method. Please help us by contributing one!


void ping_interval ( int ping_interval )

There is currently no description for this method. Please help us by contributing one!


void reset ( )

There is currently no description for this method. Please help us by contributing one!


Error send ( int channel, PackedByteArray packet, int flags )

There is currently no description for this method. Please help us by contributing one!


void set_timeout ( int timeout, int timeout_min, int timeout_max )

There is currently no description for this method. Please help us by contributing one!


void throttle_configure ( int interval, int acceleration, int deceleration )

There is currently no description for this method. Please help us by contributing one!