PacketClient class

Constructors

PacketClient()

Properties

connected bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastIP String
getter/setter pair
packetSequence int
getter/setter pair
port int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket Socket?
getter/setter pair

Methods

close() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(IPacket packet, bool shouldReconnect) Future<S2CResponse>
Tries to send a packet to the connected server
startConnect(String IPAddress, int port) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited