Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

GameKit.Challenge.State

The current state of the challenge.

Component Version macOS Windows Linux Server iOS SDK
GameKit 8.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "GameKit.Challenge.State"; ChallengeRef )   More

Parameters

Parameter Description Example
ChallengeRef The identifier for the challenge. $challenge

Result

Returns state or error.

Description

The current state of the challenge.
Possible values:
InvalidAn error occurred. The state of this challenge is not valid.
PendingThe challenge has been issued, but is not yet completed nor declined.
CompletedThe receiving player successfully completed the challenge.
DeclinedThe receiving player declined the challenge.

See also

This function is free to use.

Created 5th November 2018, last changed 8th November 2018


GameKit.Challenge.Score - GameKit.DefaultLeaderboardIdentifier

💬 Ask a question or report a problem