Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
disconnecting
The peer is currently disconnecting.
ENetPacketPeer.swift:34case disconnecting
Other cases
case disconnected
The peer is disconnected.
case connecting
The peer is currently attempting to connect.
case acknowledgingConnect
The peer has acknowledged the connection request.
case connectionPending
The peer is currently connecting.
case connectionSucceeded
The peer has successfully connected, but is not ready to communicate with yet (.stateConnected).
case connected
The peer is currently connected and ready to communicate with.
case disconnectLater
The peer is slated to disconnect after it has no more outgoing packets to send.
case acknowledgingDisconnect
The peer has acknowledged the disconnection request.
case zombie
The peer has lost connection, but is not considered truly disconnected (as the peer didn’t acknowledge the disconnection request).