SKZTurnBasedMatchInfo Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SKZTurnBasedMatchInfo.h |
Overview
SKZTurnInformation is used to pass data about a turn based match between the Skillz SDK and a publisher’s game.
matchDescription
Match description as configured in the Skillz Developer Portal
@property (readonly, nullable) NSString *matchDescriptionDeclared In
SKZTurnBasedMatchInfo.h
entryCash
Cash entry fee, nil if there is none
@property (readonly, nullable) NSNumber *entryCashDeclared In
SKZTurnBasedMatchInfo.h
entryPoints
Z points entry fee, nil if there is none
@property (readonly, nullable) NSNumber *entryPointsDeclared In
SKZTurnBasedMatchInfo.h
name
Match name as configured in the Skillz Developer Portal
@property (readonly, nonnull) NSString *nameDeclared In
SKZTurnBasedMatchInfo.h
tournamentBeganDate
Date that this tournament began
@property (nonatomic, strong) NSDate *tournamentBeganDateDeclared In
SKZTurnBasedMatchInfo.h
lastTurnCompletedDate
Date that the opponent completed their turn, will be nil if player is initiating and has not been matched
@property (nonatomic, strong) NSDate *lastTurnCompletedDateDeclared In
SKZTurnBasedMatchInfo.h
opponentCurrentTotalScore
Current total score for the current player’s opponent, if relevant to your game. Set when completing a turn, allows you to easily track and display total score without adjusting per round scoring. Used within the Skillz UI to display results.
@property (nonatomic, strong) NSString *opponentCurrentTotalScoreDiscussion
DEPRECATED: use the current total score field on the opponent object instead
Declared In
SKZTurnBasedMatchInfo.h
opponent
Current player’s opponent
@property (readonly) SKZTurnBasedPlayer *opponentDeclared In
SKZTurnBasedMatchInfo.h
playerCurrentTotalScore
Current total score for the current player, if relevant to your game. Set by you when completing a turn, allows you to easily track and display total score without adjusting per round score. Used within the Skillz UI to display results.
@property (nonatomic, strong) NSString *playerCurrentTotalScoreDiscussion
DEPRECATED: use the current total score field on the player object instead
Declared In
SKZTurnBasedMatchInfo.h
playerAvatarURL
URL for current player’s Skillz avatar
@property (nonatomic, strong) NSString *playerAvatarURLDiscussion
DEPRECATED: use the avatar URL field on the player object instead
Declared In
SKZTurnBasedMatchInfo.h
playerUniqueId
Unique ID for current player, use this to reference stored data for a given player
@property (nonatomic, strong) NSString *playerUniqueIdDiscussion
DEPRECATED: use the id field on the player object instead
Declared In
SKZTurnBasedMatchInfo.h
turnBasedPlayer
Current turn based player
@property (readonly) SKZTurnBasedPlayer *turnBasedPlayerDeclared In
SKZTurnBasedMatchInfo.h
gameData
Base64 string encoded from NSData created by publisher used to create the game state for the current turn, will be nil for initiating turn if player has not been matched.
@property (nonatomic, strong) NSString *gameDataDeclared In
SKZTurnBasedMatchInfo.h
roundInformation
Array of SKZRoundResults objects corresponding to each round that has been completed so far. See SKZRoundResults for more information.
@property (nonatomic, strong) NSArray *roundInformationDeclared In
SKZTurnBasedMatchInfo.h
currentTurnIndex
Index of current turn, for the first turn currentTurnIndex equals 0, and so on.
@property (nonatomic) NSInteger currentTurnIndexDeclared In
SKZTurnBasedMatchInfo.h
prizePoints
The first place prize for the winner of this tournament, will be zero if this is a cash tournament
@property (nonatomic) NSInteger prizePointsDeclared In
SKZTurnBasedMatchInfo.h
prizeCash
The first place prize for the winner of this tournmanet, will be zero if this is not a cash tournament
@property (nonatomic) CGFloat prizeCashDeclared In
SKZTurnBasedMatchInfo.h
isGameComplete
Check this variable to determine whether your user is viewing an already complete match, or a match still in Progress
@property (nonatomic) BOOL isGameCompleteDeclared In
SKZTurnBasedMatchInfo.h