client/common: support new login screen

This commit is contained in:
2026-05-05 05:39:45 +00:00
committed by Sam Sartor
parent bc20cf825d
commit ffb109d3a0
10 changed files with 65 additions and 30 deletions
+10
View File
@@ -17,6 +17,16 @@ pub struct ServerStatus {
pub bandwidth: Option<u32>,
}
#[derive(Debug, Clone, Deserialize, Serialize, Default, PartialEq)]
pub struct ServerEntry {
pub name: String,
pub address: String,
pub port: u16,
pub username: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub password: Option<String>,
}
/// Mumble UDP ping protocol.
///
/// Send a 12-byte packet: 4 zero bytes + 8-byte identifier.