packets.edn

Branches > namespace-reorganization > e6445b6 > files / resources / packets.edn

;; Would be nice to have this eventually so it's separate from the code :)
{:serverbound
 {:packets
  #:net.bowmap.client.state
  {:handshaking
   [:net.bowmap.packets.server/handshaking]}

  :schemas
  #:net.bowmap.packets.server
  {:handshaking [:protocol :varint
                 :address :string
                 :port :short
                 :intent [:enum :varint {1 :net.bowmap.client.state/status
                                         2 :net.bowmap.client.state/login
                                         3 :net.bowmap.client.state/transfer}]]
   :status-request []
   :ping-request [:timestamp :long]}}}