SKZTurnBasedMatchOutcome Constants Reference

Declared in Skillz+TurnBased.h

SKZTurnBasedMatchOutcome

These enums are used to decide who will win the prize for the current round. Sending up “kSKZMatchOutcomeMatchNoOutcome” will continue play, sending up any other value will end the match with the specifed outcome and award the prize for the match.

Definition

typedef NS_ENUM(NSUInteger, SKZTurnBasedMatchOutcome ) {
   kSKZMatchOutcomeMatchLoss = 0,
   kSKZMatchOutcomeMatchWin = 1,
   kSKZMatchOutcomeMatchDraw = 2,
   kSKZMatchOutcomeMatchNoOutcome = 4,
};

Constants

kSKZMatchOutcomeMatchLoss

The current player’s turn has resulted in a loss for the match for them, end match.

Declared In Skillz+TurnBased.h.

kSKZMatchOutcomeMatchWin

The current player’s turn has resulted in a win for the match for them, end match.

Declared In Skillz+TurnBased.h.

kSKZMatchOutcomeMatchDraw

The current player’s turn has resulted in a draw for the match for them, end match.

Declared In Skillz+TurnBased.h.

kSKZMatchOutcomeMatchNoOutcome

The current player’s turn has resulted in no outcome for the match, continue play.

Declared In Skillz+TurnBased.h.

Declared In

Skillz+TurnBased.h