Public Attributes | |
int | gameDuration |
string | levels |
bool | gameSoundOn |
string | lang |
int | gameTimeoutGap |
Model that contains necessary information regarding Game that is about to start.
Definition at line 7 of file EAZGameStartInfo.cs.
int EAZGameStartInfo.gameDuration |
Game’s duration in seconds. Setting on the EazeGamesSDK Platform.
Definition at line 12 of file EAZGameStartInfo.cs.
bool EAZGameStartInfo.gameSoundOn |
Indicating sound setting.
Definition at line 24 of file EAZGameStartInfo.cs.
int EAZGameStartInfo.gameTimeoutGap |
Time gap in seconds. Determines margin for game to be timed out by the platform. Final time out value will be = duration + timeOutGap.
Definition at line 32 of file EAZGameStartInfo.cs.
string EAZGameStartInfo.lang |
Language ISO 639-1 code. E.g. "en".
Definition at line 28 of file EAZGameStartInfo.cs.
string EAZGameStartInfo.levels |
String that determines the level sequence. EazeGamesSDK Platform supports games with level sequences.
Each level of the game must be associated with a number 1, 2, 3, 4, 5. etc, as well as there should be a max levels number (count of all levels), that can be configured in the admin panel. Max levels number is used to generate a random level sequence by EazeGamesSDK Platform, per each game play and same for all Players of that particular game play. Let’s say, we have max levels of 5. It means, that game has 5 levels: 1, 2, 3, 4, 5. All those levels are taken into account and shuffled in order to produce a string with the random level sequence: 3-4-1-2-5-4-5-2-1-3
Amount of game levels numbers in sequence depends on game duration. The usual game duration is 2-3 mins. Therefore there could be more or less numbers in the output string to guarantee (assure) the enough(sufficient) levels quantity for a game play. If we set as a max levels number, then depending on game duration the level sequence can be: 4-5-1-3-2-5-5-4-1-3 4-5-1-3-2-5-5-4-1-3-5-4-4-1-3-5
Definition at line 20 of file EAZGameStartInfo.cs.