1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-13 09:07:44 +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;
}
}
ClientLobbyIpcData::ServiceLogin { sequence, .. } => {
// TODO: support selecting a service account
connection.selected_service_account =
Some(connection.service_accounts[0].id);
ClientLobbyIpcData::ServiceLogin {
sequence,
account_index,
..
} => {
connection.selected_service_account = Some(
connection.service_accounts[*account_index as usize].id,
);
connection.send_lobby_info(*sequence).await
}
ClientLobbyIpcData::CharaMake(character_action) => {