added call fag
This commit is contained in:
parent
d73ab6a589
commit
49f127ec81
@ -162,6 +162,8 @@ Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow()
|
|||||||
|
|
||||||
connect(ui_spectator, SIGNAL(clicked()), this, SLOT(on_spectator_clicked()));
|
connect(ui_spectator, SIGNAL(clicked()), this, SLOT(on_spectator_clicked()));
|
||||||
|
|
||||||
|
connect(ui_call_mod, SIGNAL(clicked()), this, SLOT(on_call_mod_clicked()));
|
||||||
|
|
||||||
set_widgets();
|
set_widgets();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -540,6 +542,11 @@ void Courtroom::on_spectator_clicked()
|
|||||||
ui_char_select_background->hide();
|
ui_char_select_background->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Courtroom::on_call_mod_clicked()
|
||||||
|
{
|
||||||
|
ao_app->send_server_packet(new AOPacket("ZZ#%"));
|
||||||
|
}
|
||||||
|
|
||||||
void Courtroom::char_clicked(int n_char)
|
void Courtroom::char_clicked(int n_char)
|
||||||
{
|
{
|
||||||
int n_real_char = n_char + current_char_page * 90;
|
int n_real_char = n_char + current_char_page * 90;
|
||||||
|
Loading…
Reference in New Issue
Block a user