PacketPeer

Inherits: RefCounted < Object

Inherited By: ENetPacketPeer, MultiplayerPeer, PacketPeerDTLS, PacketPeerExtension, PacketPeerStream, PacketPeerUDP, WebRTCDataChannel, WebSocketPeer

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

Properties

int

encode_buffer_max_size

8388608

Methods

int

get_available_packet_count ( ) const

PackedByteArray

get_packet ( )

Error

get_packet_error ( ) const

Variant

get_var ( bool allow_objects=false )

Error

put_packet ( PackedByteArray buffer )

Error

put_var ( Variant var, bool full_objects=false )


Property Descriptions

int encode_buffer_max_size = 8388608

  • void set_encode_buffer_max_size ( int value )

  • int get_encode_buffer_max_size ( )

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


Method Descriptions

int get_available_packet_count ( ) const

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


PackedByteArray get_packet ( )

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


Error get_packet_error ( ) const

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


Variant get_var ( bool allow_objects=false )

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


Error put_packet ( PackedByteArray buffer )

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


Error put_var ( Variant var, bool full_objects=false )

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