Platforms to show: All Mac Windows Linux Cross-Platform
GKInviteMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Your game never directly creates GKInvite objects. Instead, invitations are created by Game Kit and delivered to your game. To receive invitations from Game Center, your game sets an invitation handler.
The properties of the invitation object describe the match the local player is being invited to join.
- property Handle as Integer
- 5 methods
- method Constructor
- method inviter as string
- method isHosted as boolean
- method playerAttributes as UInt32
- method playerGroup as Integer
- shared method Available as boolean
This class has no sub classes.
Some methods using this class:
- GKMatchmakerMBS.matchForInvite(invite as GKInviteMBS, tag as Variant = nil)
- GKMatchmakerViewControllerMBS.Constructor(invite as GKInviteMBS)
Some events using this class:
- GameKitMBS.Invited(MatchMaker as GKMatchmakerMBS, acceptedInvite as GKInviteMBS, playersToInvite() as string)
- GameKitMBS.matchForInviteCompleted(Matchmaker as GKMatchmakerMBS, invite as GKInviteMBS, match as GKMatchMBS, error as NSErrorMBS, tag as Variant)
Xojo Developer Magazine
- 12.5, page 31: Writing OS X Apps for Game Center, Part 2: Requesting a Match by Tom Baumgartner
- 12.5, page 29: Writing OS X Apps for Game Center, Part 2: Requesting a Match by Tom Baumgartner
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
GKGameCenterViewControllerMBS - GKLeaderboardMBS