1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-13 17:07:45 +00:00

Allow selecting a service account in the lobby

This commit is contained in:
Joshua Goins 2025-07-12 08:25:10 -04:00
parent 6a08ae4b0f
commit 87676bafd7

View file

@ -298,10 +298,14 @@ async fn main() {
connection.send_error(*sequence, 2002, 13006).await; connection.send_error(*sequence, 2002, 13006).await;
} }
} }
ClientLobbyIpcData::ServiceLogin { sequence, .. } => { ClientLobbyIpcData::ServiceLogin {
// TODO: support selecting a service account sequence,
connection.selected_service_account = account_index,
Some(connection.service_accounts[0].id); ..
} => {
connection.selected_service_account = Some(
connection.service_accounts[*account_index as usize].id,
);
connection.send_lobby_info(*sequence).await connection.send_lobby_info(*sequence).await
} }
ClientLobbyIpcData::CharaMake(character_action) => { ClientLobbyIpcData::CharaMake(character_action) => {