Platforms to show: All Mac Windows Linux Cross-Platform
GKMatchRequestMBS class
class, GameKit,
MBS Real Studio MountainLion Plugin
(GameKit),
class GKMatchRequestMBS,
Plugin version: 12.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: A GKMatchRequest object is used to specify the parameters for a new match.
Notes: A GKMatchRequest object is passed to the GKMatchmaker object to programmatically search for other players, or to a GKMatchmakerViewController (GKMatchmakerPanel on OS X) object when your game wants to present the default user interface to the player.
Plugin version: 12.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: A GKMatchRequest object is used to specify the parameters for a new match.
Notes: A GKMatchRequest object is passed to the GKMatchmaker object to programmatically search for other players, or to a GKMatchmakerViewController (GKMatchmakerPanel on OS X) object when your game wants to present the default user interface to the player.
- property Handle as Integer
- property defaultNumberOfPlayers as integer
- property inviteMessage as string
- property maxPlayers as integer
- property minPlayers as integer
- property playerAttributes as UInt32
- property playerGroup as integer
- shared method Available as boolean
- method Constructor
- method playersToInvite as string()
- method SetInviteeResponseHandler(tag as integer)
- method setPlayersToInvite(playerIDs() as string)
This class has no sub classes.
Some methods using this class:
- GKMatchmakerMBS.addPlayersToMatch(match as GKMatchMBS, matchRequest as GKMatchRequestMBS, tag as variant = nil)
- GKMatchmakerMBS.findMatchForRequest(request as GKMatchRequestMBS, tag as variant = nil)
- GKMatchmakerMBS.findPlayersForHostedMatchRequest(request as GKMatchRequestMBS, tag as variant = nil)
- GKMatchmakerViewControllerMBS.Constructor(request as GKMatchRequestMBS)
- GKMatchmakerViewControllerMBS.matchRequest as GKMatchRequestMBS
- GKTurnBasedMatchmakerViewControllerMBS.Constructor(request as GKMatchRequestMBS)
- GKTurnBasedMatchMBS.findMatchForRequest(request as GKMatchRequestMBS, tag as variant = nil)
Some events for this class:
- GameKitMBS.addPlayersToMatchCompleted(MatchMaker as GKMatchmakerMBS, match as GKMatchMBS, matchRequest as GKMatchRequestMBS, error as NSErrorMBS, tag as variant)
- GameKitMBS.findMatchForRequestCompleted(MatchMaker as GKMatchmakerMBS, request as GKMatchRequestMBS, match as GKMatchMBS, TurnBasedMatch as GKTurnBasedMatchMBS, error as NSErrorMBS, tag as variant)
- GameKitMBS.findPlayersForHostedMatchRequestCompleted(MatchMaker as GKMatchmakerMBS, request as GKMatchRequestMBS, playerIDs() as string, error as NSErrorMBS, tag as variant)
- GameKitMBS.inviteeResponseHandler(MatchRequest as GKMatchRequestMBS, PlayerID as string, response as integer, tag as integer)
The items on this page are in the following plugins: MBS Real Studio MountainLion Plugin.
Links
MBS Real Studio PDF Plugins