SFS2X Objective-C API
1.7.13
iOS / macOS / tvOS
|
#import <QuickJoinGameRequest.h>
Inherits BaseRequest.
Instance Methods | |
(id) | - initWithMatchExpression:whereToSearch:roomToLeave: |
Class Methods | |
(id) | + requestWithMatchExpression:whereToSearch:roomToLeave: |
(id) | + requestWithMatchExpression:whereToSearch: |
Properties | |
NSArray * | whereToSearch |
MatchExpression * | matchExpression |
id< Room > | roomToLeave |
Quick join a User in a public game.
By providing a MatchExpression and a list of Rooms or Groups the system can search for matching Rooms and immediately teleport the player in the game action.
+ (id) requestWithMatchExpression: | (MatchExpression *) | matchExpression | |
whereToSearch: | (NSArray *) | whereToSearch | |
roomToLeave: | (id <Room>) | roomToLeave | |
matchExpression | a MatchExpression to filter Rooms |
whereToSearch | this parameter accepts an array of Room objects or an array of Strings representing valid Room Group names |
roomToLeave | an optional Room that the User will leave after joining the game |