Commit graph

741 commits

Author SHA1 Message Date
Ubuntu
0d55c71cee actually fix out of bounds errors 2022-10-24 19:01:28 +00:00
Ubuntu
61642f165b fix out of bounds y position 2022-10-24 18:20:18 +00:00
mat
3869fd622f write some more docs for az-protocol 2022-10-23 22:59:38 -05:00
mat
65da123631
Add Client::set_client_information (#33)
* start adding options

* add default options

* send options packet by default

* mention set_options in Client::join doc

* make TranslatableComponent::read return TextComponent

* change set_options to set_client_information

* clean up some code

* Add `Initialize` event

* fix some clippy warnings

* change `Client::options` to `client_information`
2022-10-23 19:00:24 -05:00
mat
587001724a add # Examples to some docs 2022-10-23 17:01:37 -05:00
mat
c9b1b19ff2 Update examples with new cleaner handle/state 2022-10-23 16:57:28 -05:00
mat
2eade86cf7 make handle cleaner
Arc<Event> -> Event, Arc<Mutex<State>> -> State
Items in State now need to have interior mutability (i.e. Arc<Mutex<T>>), but it's a worthwhile tradeoff since it allows the user to customize it for each field
2022-10-23 16:51:49 -05:00
mat
a9ff79a105 write more documentation 2022-10-23 14:46:06 -05:00
mat
127126c2cc fix panic on purpur servers 2022-10-23 12:53:38 -05:00
mat
9c67ce9a30 fix stack overflow in az-chat 2022-10-21 22:36:57 -05:00
mat
3fbbe5e93d have Display implemented for the Components 2022-10-21 22:30:19 -05:00
mat
6924502bc4 make TranslatableComponent::read return TextComponent 2022-10-21 22:16:37 -05:00
mat
b95e69be8f add function that gets full message content 2022-10-21 21:44:39 -05:00
mat
aa1f2a55e0 work around rustc compilation error 2022-10-21 20:26:49 -05:00
mat
8d0cad7784 Remove let chains 2022-10-20 22:16:34 -05:00
Sculas
41606fdd14
fix: make fields in PlayerInfo::Action public (#32)
This PR makes the fields in the PlayerInfo packet public.

I encountered this issue when writing my own bot which needs a list of UUID > String of all currently logged-in players, and while writing my handler for `Action::RemovePlayer` I found out that the `uuid` field is private. This PR fixes that.
2022-10-19 10:42:38 -05:00
Ubuntu
c0338cac35 Create cache file directory if it doesn't exist 2022-10-18 19:31:27 +00:00
Ubuntu
4c9de35cc2 fix rustc panic 2022-10-18 18:53:05 +00:00
Ubuntu
051f52474d bump az-client version 2022-10-18 17:08:32 +00:00
Ubuntu
43799946da make Account clonable 2022-10-18 17:01:28 +00:00
Ubuntu
e0dc937d88 change azalea version 2022-10-17 18:52:22 +00:00
Ubuntu
5ffc46ae5c change the order of event in handle fn 2022-10-17 18:51:42 +00:00
Sculas
d4d4ba054f
refactor: remove println statements (#31)
This PR removes all println statements and logs them on trace level instead. Normally, libraries shouldn't print to stdout using println, since there's no control over them.
2022-10-17 13:18:25 -05:00
Ubuntu
96e94aa424 now publish azalea 2022-10-17 18:08:44 +00:00
Ubuntu
2d9f3e8367 ok don't publish azalea yet then 2022-10-17 18:03:09 +00:00
Ubuntu
c09d93fa8a public azalea and az-client 2022-10-17 18:02:03 +00:00
Ubuntu
22f677769d update az-auth description 2022-10-17 17:59:11 +00:00
Ubuntu
85658111da add fs feature to tokio in az-auth 2022-10-17 17:57:46 +00:00
Ubuntu
45a48f264f (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
Ubuntu
ba5eb64520 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
Ubuntu
61b586b4d5 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
Ubuntu
b68bcb44d2 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
Ubuntu
9c6347473b (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
Ubuntu
69d30378e5 (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
Ubuntu
f66f55955d (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
Ubuntu
9a7d2d51b5 (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
Ubuntu
7c71efab4a (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
Ubuntu
b6c6ea34c1 (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
Ubuntu
4e8bdfe7aa (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
Ubuntu
924a4771d9 (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
Ubuntu
e4a85363b0 (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
Ubuntu
d188a7470d (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
Ubuntu
e6f023a38b (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
Ubuntu
bdeafa2c29 (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
Ubuntu
4585504323 (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
Ubuntu
430501f6e1 (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
Ubuntu
46fbc4654c (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
Ubuntu
560805bc2c (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
Ubuntu
2b5d972ae9 disable release on more things 2022-10-17 16:27:42 +00:00
Ubuntu
90e33c7e87 temporarily exclude azalea & az-client again 2022-10-17 14:40:00 +00:00