Under-21 squad: the U21 players with their minutes and contracts (Squad), the country's U21 league with the latest results and the over-age places (League), and the first-team and U18 players who may join the U21s (Candidates). Row actions live in the selected row's detail strip, as on the youth academy screen.
More...
#include <reserves_scene.h>
|
| | ReservesScene (GUIView *parent) |
| |
| void | update (float deltaTime) override |
| | Updates scene logic.
|
| |
| SceneID | getID () const override |
| | Gets the ID of the scene.
|
| |
| | ManagementScene (GUIView *guiViewPtr) |
| |
| void | render () final |
| | Renders the scene.
|
| |
| void | onEnter () override |
| | Called when the scene is entered/becomes active.
|
| |
| void | onResume () override |
| | Called when an overlay above this scene closes and it becomes the active scene again. Screens use it to refresh cached view models after a match, a transfer or any other state change made elsewhere.
|
| |
| void | handleEvent (const SDL_Event &event) override |
| |
| std::optional< NavEntry > | historyEntry () const override |
| |
| | GUIScene (GUIView *guiView_ptr) |
| | Constructs a new GUIScene.
|
| |
| virtual | ~GUIScene ()=default |
| | Destroys the GUIScene.
|
| |
| virtual void | onExit () |
| | Called when the scene is exited/becomes inactive.
|
| |
| virtual void | onResize (int width, int height) |
| | Called when the window is resized.
|
| |
Under-21 squad: the U21 players with their minutes and contracts (Squad), the country's U21 league with the latest results and the over-age places (League), and the first-team and U18 players who may join the U21s (Candidates). Row actions live in the selected row's detail strip, as on the youth academy screen.
◆ ListKind
| Enumerator |
|---|
| SQUAD | |
| CANDIDATES | |
◆ Tab
| Enumerator |
|---|
| SQUAD | |
| LEAGUE | |
| CANDIDATES | |
◆ ReservesScene()
| ReservesScene::ReservesScene |
( |
GUIView * |
parent | ) |
|
|
explicit |
◆ getID()
| SceneID ReservesScene::getID |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the ID of the scene.
- Returns
- The SceneID of this scene.
GUIView uses this identifier to apply match-specific event and scene behavior.
Implements GUIScene.
◆ makeRow()
◆ navSection()
|
|
inlineoverrideprotectedvirtual |
◆ openTab()
| void ReservesScene::openTab |
( |
Tab |
tab | ) |
|
|
private |
◆ refresh()
| void ReservesScene::refresh |
( |
| ) |
|
|
overrideprotectedvirtual |
Rebuilds cached view models from the game state.
Reimplemented from ManagementScene.
◆ renderCandidates()
| void ReservesScene::renderCandidates |
( |
| ) |
|
|
private |
◆ renderContent()
| void ReservesScene::renderContent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ renderDetail()
| void ReservesScene::renderDetail |
( |
const Row & |
row, |
|
|
ListKind |
kind |
|
) |
| |
|
private |
◆ renderLeague()
| void ReservesScene::renderLeague |
( |
| ) |
|
|
private |
◆ renderQuotaCard()
| void ReservesScene::renderQuotaCard |
( |
float |
width | ) |
const |
|
private |
◆ renderResultsCard()
| void ReservesScene::renderResultsCard |
( |
float |
width | ) |
|
|
private |
◆ renderSquad()
| void ReservesScene::renderSquad |
( |
| ) |
|
|
private |
◆ renderTable()
| void ReservesScene::renderTable |
( |
const char * |
id, |
|
|
const std::vector< Row > & |
rows, |
|
|
ListKind |
kind |
|
) |
| |
|
private |
◆ runPending()
| void ReservesScene::runPending |
( |
| ) |
|
|
private |
◆ update()
| void ReservesScene::update |
( |
float |
deltaTime | ) |
|
|
overridevirtual |
Updates scene logic.
- Parameters
-
| deltaTime | The time elapsed since the last update. |
Implements GUIScene.
◆ GameFlowTest_GUIFlowLifecycle_Test
| friend class GameFlowTest_GUIFlowLifecycle_Test |
|
friend |
◆ cached_date
◆ candidate_rows
| std::vector<Row> ReservesScene::candidate_rows |
|
private |
◆ form
◆ league_line
| std::string ReservesScene::league_line |
|
private |
◆ league_title
| std::string ReservesScene::league_title |
|
private |
◆ overview
◆ pending
◆ quota_keepers
| std::string ReservesScene::quota_keepers |
|
private |
◆ quota_outfield
| std::string ReservesScene::quota_outfield |
|
private |
◆ requested_tab
◆ results
◆ selected
◆ squad_rows
| std::vector<Row> ReservesScene::squad_rows |
|
private |
◆ squad_size
| std::string ReservesScene::squad_size |
|
private |
◆ squad_title
| std::string ReservesScene::squad_title |
|
private |
◆ subtitle
| std::string ReservesScene::subtitle |
|
private |
◆ tab_pending
| bool ReservesScene::tab_pending = false |
|
private |
◆ table
The documentation for this class was generated from the following files: