diff options
| author | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
| commit | ee2575794e91b9457a74a95daf1dcc707058cd58 (patch) | |
| tree | df725850ef18ded5ce3f6552e17095d0f704ae84 /azalea-protocol/src/common | |
| parent | 1a1402954b07cd77615d0afc026c73b008787f51 (diff) | |
| download | azalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz | |
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-protocol/src/common')
| -rw-r--r-- | azalea-protocol/src/common/client_information.rs | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/azalea-protocol/src/common/client_information.rs b/azalea-protocol/src/common/client_information.rs index 690d052a..5dedd1a8 100644 --- a/azalea-protocol/src/common/client_information.rs +++ b/azalea-protocol/src/common/client_information.rs @@ -5,8 +5,9 @@ use azalea_core::bitset::FixedBitSet; use bevy_ecs::component::Component; /// A component that contains some of the "settings" for this client that are -/// sent to the server, such as render distance. This is only present on local -/// players. +/// sent to the server, such as render distance. +/// +/// This is only present on local players. #[derive(Clone, Debug, AzBuf, PartialEq, Eq, Component)] pub struct ClientInformation { /// The locale of the client. @@ -14,11 +15,13 @@ pub struct ClientInformation { /// The view distance of the client in chunks, same as the render distance /// in-game. pub view_distance: u8, - /// The types of chat messages the client wants to receive. Note that many - /// servers ignore this. + /// The types of chat messages the client wants to receive. + /// + /// Note that this is enforced by the server, and many servers ignore this. pub chat_visibility: ChatVisibility, - /// Whether the messages sent from the server should have colors. Note that - /// many servers ignore this and always send colored messages. + /// Whether the messages sent from the server should have colors. + /// + /// Note that many servers ignore this and always send colored messages. pub chat_colors: bool, pub model_customization: ModelCustomization, pub main_hand: HumanoidArm, |
