Delegate MatchDelegate
Match delegate. Called when a match arrives.
If this is true, then the game should immediately proceed to the game screen to play this match, without prompting the user. If false, you should prompt the user before going to the match screen. As an example, when a user taps on the "Play" button on a turn-based multiplayer notification, it is clear that they want to play that match right away, so the plugin calls this delegate with shouldAutoLaunch = true. However, if we receive an incoming notification that the player hasn't specifically indicated they wish to accept (for example, we received one silently while the app is in foreground), this delegate will be called with shouldAutoLaunch=false to indicate that you should confirm with the user before switching to the game. [Game Center only] This is true only if the local player has removed the match in the matches UI while being the turn holder. When this happens you should call theNamespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
public delegate void MatchDelegate(TurnBasedMatch match, bool shouldAutoLaunch, bool playerWantsToQuit);
Parameters
Type | Name | Description |
---|---|---|
TurnBasedMatch | match | |
System.Boolean | shouldAutoLaunch | |
System.Boolean | playerWantsToQuit |