aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/connect.rs
AgeCommit message (Collapse)Author
2022-08-06Better errors (#14)mat
* make reading use thiserror * finish implementing all the error things * clippy warnings related to ok_or * fix some errors in other places * thiserror in more places * don't use closures in a couple places * errors in writing packet * rip backtraces * change some BufReadError::Custom to UnexpectedEnumVariant * Errors say what packet is bad * error on leftover data and fix it wasn't reading the properties for gameprofile
2022-07-30remove unnecessary empty implsmat
2022-07-29simplify switching packet statesmat
2022-07-29remove unused structsmat
2022-07-29make Connection a single struct with genericsmat
This isn't that good of a solution but I couldn't come up with a better one and this was pretty simple to implement
2022-07-29Split clientbound and serverbound packetsmat
2022-05-07clientbound add player packetmat
2022-04-30azalea_auth::encryption -> azalea_cryptomat
2022-04-29upgrade aes and cfb8mat
2022-04-24ENCRYPTION WORKS!!!!!!!!!!!mat
2022-04-22simplify error handlingmat
2021-12-17writing compressed packetsmat
2021-12-17fix packetsmat
2021-12-16try to implement compressionmat
2021-12-15azaleamat