SkillzDelegate Protocol Reference
Conforms to | SkillzBaseDelegate |
---|---|
Declared in | SkillzInstance.h |
Overview
If you plan to support standard Skillz tournaments, your Skillz delegate should conform to this protocol and implement its required methods.
NOTE: Your Skillz Delegate may also conform to SkillzTurnBasedDelegate if you plan to support both play types.
– tournamentWillBegin:withMatchInfo:
required method
This method will be called when a typical Skillz tournament will launch. You should use this method for constructing a new game based on the supplied argument.
- (void)tournamentWillBegin:(NSDictionary *)gameParameters withMatchInfo:(SKZMatchInfo *)matchInfo
Parameters
gameParameters |
dictionary contains the Game Parameters that were configured in the Skillz Developer Portal |
---|---|
matchInfo |
class contain data relevant to the current match |
Declared In
SkillzInstance.h
– tournamentWillBegin:
Deprecated, use tournamentWillBegin:withMatchInfo:
- (void)tournamentWillBegin:(NSDictionary *)gameParameters
Parameters
gameParameters |
parameters for your game. |
---|
Declared In
SkillzInstance.h