Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
skel_current_game Struct Reference

Information about a currently running set of games. More...

Collaboration diagram for skel_current_game:
Collaboration graph
[legend]

Data Fields

uint32_t cheat
 
uint32_t games_left
 
struct skel_levellevel_info
 
uint32_t total_games
 

Detailed Description

Information about a currently running set of games.

Note
Because we want to be able to show true running information about the games regardless of whether or not a reload has modified what the level looks like, it is important to either copy the information we need from the level to the current_game struct, or as we do here, store a reference to the level as it is for the running game.

Definition at line 193 of file app_skel.c.

Field Documentation

◆ cheat

uint32_t cheat

How many games are left to play in this set

Definition at line 196 of file app_skel.c.

◆ games_left

uint32_t games_left

The total number of games for this call to the app

Definition at line 195 of file app_skel.c.

Referenced by handle_skel_show_games().

◆ level_info

struct skel_level* level_info

Whether or not cheating was enabled for the game

Definition at line 197 of file app_skel.c.

Referenced by handle_skel_show_games(), skel_game_alloc(), and skel_game_destructor().

◆ total_games

uint32_t total_games

Definition at line 194 of file app_skel.c.

Referenced by handle_skel_show_games().


The documentation for this struct was generated from the following file: