SKZTurnBasedRoundOutcome Constants Reference

Declared in Skillz+TurnBased.h

SKZTurnBasedRoundOutcome

These enums control the outcome of the round, currently this is used to support the Skillz UI by displaying to the player who has won each consecutive round. The values specified for “completeTurnWithGameData:” will be returned to you via the SKZRoundResults objects contained in the SKZTurnBasedMatchInfo passed in when launching a turn based match.

Definition

typedef NS_ENUM(NSUInteger, SKZTurnBasedRoundOutcome ) {
   kSKZRoundOutcomeRoundLoss = 0,
   kSKZRoundOutcomeRoundWin = 1,
   kSKZRoundOutcomeRoundDraw = 2,
   kSKZRoundOutcomeRoundNoOutcome = 4,
};

Constants

kSKZRoundOutcomeRoundLoss

The current player’s turn has resulted in a loss for the round for them.

Declared In Skillz+TurnBased.h.

kSKZRoundOutcomeRoundWin

The current player’s turn has resulted in a win for the round for them.

Declared In Skillz+TurnBased.h.

kSKZRoundOutcomeRoundDraw

The current player’s turn has resulted in a draw for the round for them.

Declared In Skillz+TurnBased.h.

kSKZRoundOutcomeRoundNoOutcome

The current player’s turn has had no clear result as far as Win/Loss/Draw for the round.

Declared In Skillz+TurnBased.h.

Declared In

Skillz+TurnBased.h