Inherits from NSObject
Declared in NPTournamentContainers.h

Overview

The NPTournamentStartDataContainer used to extract some info about the tournament which is about to be played

Tasks

  •   tournamentUuid

    The tournament UUID is provided so that your game can identify which tournament needs to be loaded. You can find the UUID in the developer dashboard

    property
  •   tournamentName

    The tournament display name

    property
  •   tournamentTimeSeconds

    The tournament time to play in seconds

    property
  •   tournamentRandomSeed

    A random seed generated for this tournament. All players within the same tournament receive the same seed from the tournament. Can be used for level generation, to ensure all players play the same level in a specific game.

    property
  •   tournamentIsGameControlled

    A flag that states if the current tournament is game controlled

    property
  •   numberOfPlayers

    The number of players that started this tournament. Includes the current player.

    property
  •   currentPlayer

    The current player.

    property
  •   opponents

    An array of the opponents in the tournament (NPTournamentPlayer* elements). Does not contain the current player.

    property

Properties

currentPlayer

The current player.

@property (nonatomic, readonly) NPTournamentPlayer *currentPlayer

Declared In

NPTournamentContainers.h

numberOfPlayers

The number of players that started this tournament. Includes the current player.

@property (nonatomic, readonly) uint32_t numberOfPlayers

Declared In

NPTournamentContainers.h

opponents

An array of the opponents in the tournament (NPTournamentPlayer* elements). Does not contain the current player.

@property (nonatomic, readonly) NSArray *opponents

Declared In

NPTournamentContainers.h

tournamentIsGameControlled

A flag that states if the current tournament is game controlled

@property (nonatomic, readonly) BOOL tournamentIsGameControlled

Declared In

NPTournamentContainers.h

tournamentName

The tournament display name

@property (nonatomic, readonly) NSString *tournamentName

Declared In

NPTournamentContainers.h

tournamentRandomSeed

A random seed generated for this tournament. All players within the same tournament receive the same seed from the tournament. Can be used for level generation, to ensure all players play the same level in a specific game.

@property (nonatomic, readonly) uint32_t tournamentRandomSeed

Declared In

NPTournamentContainers.h

tournamentTimeSeconds

The tournament time to play in seconds

@property (nonatomic, readonly) uint32_t tournamentTimeSeconds

Declared In

NPTournamentContainers.h

tournamentUuid

The tournament UUID is provided so that your game can identify which tournament needs to be loaded. You can find the UUID in the developer dashboard

@property (nonatomic, readonly) NSString *tournamentUuid

Declared In

NPTournamentContainers.h