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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

GameKit.Challenge.Decline

Declines a challenge.

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

Parameters

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

Result

Returns OK or error.

Description

Declines a challenge.
If your game implements a custom user interface to display challenges, it should include controls that allow a player to decline a challenge. If the player uses your user interface to decline a challenge, call this method.

See also

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


GameKit.Challenge.CompletionDate - GameKit.Challenge.IssueDate

Feedback: Report problem or ask question.