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-client/src/player.rs | |
| parent | 1a1402954b07cd77615d0afc026c73b008787f51 (diff) | |
| download | azalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz | |
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-client/src/player.rs')
| -rw-r--r-- | azalea-client/src/player.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/azalea-client/src/player.rs b/azalea-client/src/player.rs index 46596e48..9a2e7a1c 100644 --- a/azalea-client/src/player.rs +++ b/azalea-client/src/player.rs @@ -22,12 +22,14 @@ pub struct PlayerInfo { pub uuid: Uuid, /// The current gamemode of the player, like survival or creative. pub gamemode: GameMode, - /// The player's latency in milliseconds. The bars in the tab screen depend - /// on this. + /// The player's latency in milliseconds. + /// + /// The bars in the tab screen depend on this. pub latency: i32, /// The player's display name in the tab list, but only if it's different - /// from the player's normal username. Use `player_info.profile.name` to get - /// the player's actual username. + /// from the player's normal username. + /// + /// Use [`GameProfile::name`] to get the player's actual username. pub display_name: Option<Box<FormattedText>>, } |
