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:
parent
6a08ae4b0f
commit
87676bafd7
1 changed files with 8 additions and 4 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue