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:
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;
|
||||
}
|
||||
}
|
||||
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) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue