1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

179 commits

Author SHA1 Message Date
350f9f105e don't log light updates 2022-11-08 20:34:39 +00:00
10bdcf3b4d log some more stuff 2022-11-08 20:14:45 +00:00
mat
21898627fd don't panic on kick 2022-11-07 22:06:02 -06:00
mat
d112856ff6
Entity metadata (#37)
* add example generated metadata.rs

* metadata.rs codegen

* add the files

* add comment to top of metadata.rs

* avoid clone

* metadata

* defaults

* defaults

* fix metadata readers and writers

* fix bad bitmasks and ignore some clippy warnings in generated code

* add set_index function to entity metadatas

* applying metadata
2022-11-06 14:05:01 -06:00
0a20160272 change comment to be less than 80 width 2022-11-03 18:00:29 +00:00
mat
aea53cd380 actually fix 2022-10-30 21:44:11 -05:00
mat
261913e606 reply to custom query packet 2022-10-30 21:42:32 -05:00
mat
5ae890f941 replace an expect with unwrap_or_else 2022-10-30 15:42:43 -05:00
mat
329f8b1784 more docs 2022-10-30 15:28:19 -05:00
mat
44ab1ad6ef chore: Release 2022-10-30 14:04:11 -05:00
mat
889f742696 add "repository" field to all crates 2022-10-30 14:03:13 -05:00
mat
f0e9a48222 fix error 2022-10-30 13:07:14 -05:00
mat
99d3a5de9d improve docs a little more 2022-10-30 12:58:44 -05:00
mat
f73872c0cc add packet to match lol 2022-10-29 14:36:07 -05:00
mat
65d8fdcb6c oop fix another unwrap 2022-10-29 14:02:57 -05:00
mat
f235c9d064 don't panic if connection closes on join 2022-10-29 13:54:19 -05:00
mat
9de6c03dfb use variables directly in format strings
thanks clippy we love you
2022-10-27 21:22:47 -05:00
mat
7ae8bfab50 fix removed packets still being defined 2022-10-27 20:58:11 -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
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
c0338cac35 Create cache file directory if it doesn't exist 2022-10-18 19:31:27 +00:00
051f52474d bump az-client version 2022-10-18 17:08:32 +00:00
43799946da make Account clonable 2022-10-18 17:01:28 +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
c09d93fa8a public azalea and az-client 2022-10-17 18:02:03 +00:00
61b586b4d5 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
b68bcb44d2 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
f66f55955d (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
9a7d2d51b5 (cargo-release) version 0.2.0 2022-10-17 16:28:53 +00:00
4e8bdfe7aa (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
e4a85363b0 (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
e6f023a38b (cargo-release) version 0.2.0 2022-10-17 16:28:52 +00:00
4585504323 (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
430501f6e1 (cargo-release) version 0.2.0 2022-10-17 16:28:51 +00:00
2b5d972ae9 disable release on more things 2022-10-17 16:27:42 +00:00
90e33c7e87 temporarily exclude azalea & az-client again 2022-10-17 14:40:00 +00:00
8c01957458 disable bot release 2022-10-17 14:38:58 +00:00
3f7fb41255 change versions and stuff 2022-10-17 14:37:05 +00:00
46cd093ead bump az-client to 0.2 2022-10-17 14:26:34 +00:00
5c18a48976 add description and license in az-client 2022-10-17 14:22:24 +00:00
c7b65b6ec8 set versions in az-client 2022-10-17 14:19:19 +00:00
mat
0f88e05a0c
Add chat function (#28)
* add Client::chat

* make the default bot do chat
2022-10-16 23:08:39 -05:00
mat
4cef62e8e4
Microsoft Authentication (#29)
* a

* try to do more work on auth signing (untested)

* well auth works when i remove the d= so

* auth stuff

* sessionserver stuff

* add auth in azalea-protocol/client

* caching*

refreshing microsoft auth tokens isn't implemented yet, also i haven't tested it

* how did i not notice that i had the code duplicated

* fix cache

* add refreshing msa token

* replace some printlns with log::trace

* auth works!

* Update main.rs

* fix clippy warnings
2022-10-16 22:54:54 -05:00
mat
a348f67b96 fix panic in azalea-chat 2022-10-10 01:04:09 -05:00
mat
4a0d5e7e96 handle SectionBlocksUpdate packet 2022-10-08 01:01:54 -05:00