0b86605
Branches > main > 0b86605 > files
comments uhhh
Commit: 0b86605fcf62a6a8f4defc821730419cfd1aa21d
Parent: 8643329
2 changed files:
src/net/bowmap/message_application.clj view file
@@ -38,6 +38,8 @@ (defmethod handle-message ::serverbound/handshaking [msg client] {::client/client (assoc client ::state/connection-state (:intent msg))}) +; So just call the fact handler for this...+; That has to be async though... (defmethod handle-message ::serverbound/status-request [_ client] {::client/client client ::messagessrc/net/bowmap/network/protocol/message/clientbound.clj view file
@@ -41,6 +41,7 @@ :args (s/cat :registry (s/map-of ::msg/id ::t/table)) :ret (s/map-of ::msg/id ::write/writer)) +; TODO terrible name? (def message->packet-ids (build-packet-ids {::state/status@@ -247,6 +248,7 @@ :dimension-name identifier-> :hashed-seed long-> :gamemode (enum-> ubyte-> {0 ::gamemode/survival 1 ::gamemode/creative 2 ::gamemode/adventure 3 ::gamemode/spectator})+ ; -1 means the gamemode is unknown :previous-gamemode (enum-> (or-> byte-> -1) {0 ::gamemode/survival 1 ::gamemode/creative 2 ::gamemode/adventure 3 ::gamemode/spectator}) :debug-world? boolean-> :superflat-world? boolean->