Platforms to show: All Mac Windows Linux Cross-Platform
Back to GKTurnBasedParticipantMBS class.
GKTurnBasedParticipantMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write property)
GKTurnBasedParticipantMBS.lastTurnDate as date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The value of this property is invalid until the participant first takes a turn in the match.
(Read only property)
GKTurnBasedParticipantMBS.lastTurnDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The value of this property is invalid until the participant first takes a turn in the match.
(Read only property)
GKTurnBasedParticipantMBS.matchOutcome as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Initially, this property holds GKTurnBasedMatchOutcomeNone. Before your game can end a match, it must set the match outcome to some other value that reflects the outcome of this participant when he or she left the match. Your game must use any of the values provided in the "GKTurnBasedMatchOutcome" enumerated type. Optionally, it may also use an OR operation to include a custom match outcome for your specific game. Game Center does not use the custom value; it exists to allow your game to provide additional information at the end of the match. The custom value must fit in the range provided by the GKTurnBasedMatchOutcomeCustomRange constant.
(Read and Write property)
GKTurnBasedParticipantMBS.player as GKPlayerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The value of this property may be nil if this slot in the match has not yet been filled by an actual player.
Available in OS X v10.10 and later.
(Read only property)
GKTurnBasedParticipantMBS.playerID as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The value of this property may be nil if this slot in the match has not been filled by an actual player.
(Read only property)
GKTurnBasedParticipantMBS.status as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This property is updated by Game Kit to reflect the status of the participant.
(Read only property)
GKTurnBasedParticipantMBS.timeoutDate as date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If a timeout was set when the turn state was advanced, this property holds when the player's turn expires. Otherwise, this property is nil.
Available on Mac OS X 10.8.2 and newer.
(Read only property)
GKTurnBasedParticipantMBS.timeoutDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If a timeout was set when the turn state was advanced, this property holds when the player's turn expires. Otherwise, this property is nil.
Available on Mac OS X 10.8.2 and newer.
(Read only property)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.