Table with methods to access gui functions.
Definition at line 5 of file api_gui.cc.
◆ open_info_win()
static void gui::open_info_win |
( |
| ) |
|
|
static |
Opens scenario info window and shows 'info' tab. In network mode, opens window on all clients and server.
- Note
- Only available in scenario mode.
◆ open_info_win_at()
static void gui::open_info_win_at |
( |
string |
tab | ) |
|
|
static |
Opens scenario info window with specific tab open. In network mode, opens window on all clients and server.
- Parameters
-
tab | possible values are "info", "goal", "rules", "result", "about", "debug" |
- Note
- Only available in scenario mode.
◆ open_info_win_client()
static void gui::open_info_win_client |
( |
string |
tab, |
|
|
integer |
player_nr |
|
) |
| |
|
static |
Opens scenario info window for certain clients (and the server), with specific tab open.
- Parameters
-
tab | possible values are "info", "goal", "rules", "result", "about", "debug" |
player_nr | opens scenario info window on all clients that have this player unlocked. |
- Note
- Window is always opened on server.
The documentation for this class was generated from the following file: