68af517
Branches > main > 68af517 > files
Clarify packet definition docstrings
Commit: 68af5173b545b8e51dba4ab15dd22c7101a7a415
Parent: de156bf
2 changed files:
src/net/bowmap/server/protocol/clientbound_packets.clj view file
@@ -5,7 +5,9 @@ [net.bowmap.server.protocol.writers :refer :all])) (def clientbound-packets- "Map of connection phases to pairs of [clientbound-packet-id writer]"+ "Map of connection phases to pairs of clientbound packet id and a writer, a+ table that will turn into a writer, or nil for unimplemented packets.+ The order of packet ids determines their numeric ID." {::phase/status [::status-response status-response> ::pong-response [::p/timestamp long>]]src/net/bowmap/server/protocol/serverbound_packets.clj view file
@@ -5,7 +5,9 @@ [net.bowmap.server.protocol.schema :as p])) (def serverbound-packets- "Map of connection phases to pairs of [serverbound-packet-id reader]"+ "Map of connection phases to pairs of clientbound packet id and a reader, a+ table that will turn into a reader, or nil for an empty reader.+ The order of packet ids determines their numeric ID." {::phase/handshaking [::handshaking [:protocol varint< :address string<