summaryrefslogtreecommitdiffstats
path: root/modules/enet/doc_classes
diff options
context:
space:
mode:
authorMike Martin <mike@unsupported.me>2023-08-02 12:27:01 -0500
committerMike Martin <mike@unsupported.me>2023-08-02 12:27:01 -0500
commit16f71e209defa1248ba78b3c3c47a49ba51d024c (patch)
tree434299484394ad28d5794d5b89fbbf09bcfd691c /modules/enet/doc_classes
parentdca12c2e54bc9a91c490479ec0db38e6f69d122b (diff)
downloadredot-engine-16f71e209defa1248ba78b3c3c47a49ba51d024c.tar.gz
Fixes packet details of ENetConnection EventType EVENT_RECEIVE documentation
Diffstat (limited to 'modules/enet/doc_classes')
-rw-r--r--modules/enet/doc_classes/ENetConnection.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/enet/doc_classes/ENetConnection.xml b/modules/enet/doc_classes/ENetConnection.xml
index 1f2964522b..5ca1ec2228 100644
--- a/modules/enet/doc_classes/ENetConnection.xml
+++ b/modules/enet/doc_classes/ENetConnection.xml
@@ -186,7 +186,7 @@
A peer has disconnected. This event is generated on a successful completion of a disconnect initiated by [method ENetPacketPeer.peer_disconnect], if a peer has timed out, or if a connection request initialized by [method connect_to_host] has timed out. The array will contain the peer which disconnected. The data field contains user supplied data describing the disconnection, or 0, if none is available.
</constant>
<constant name="EVENT_RECEIVE" value="3" enum="EventType">
- A packet has been received from a peer. The array will contain the peer which sent the packet, the channel number upon which the packet was received, and the received packet.
+ A packet has been received from a peer. The array will contain the peer which sent the packet and the channel number upon which the packet was received. The received packet will be queued to the associated [ENetPacketPeer].
</constant>
<constant name="HOST_TOTAL_SENT_DATA" value="0" enum="HostStatistic">
Total data sent.