SFS2X Objective-C API
1.7.13
iOS / macOS / tvOS
|
#import <PlayerToSpectatorRequest.h>
Inherits BaseRequest.
Instance Methods | |
(id) | - initWithTargetRoom: |
Class Methods | |
(id) | + requestWithTargetRoom: |
(id) | + request |
Properties | |
id< Room > | room |
Attempt to turn the current User from Player to a Spectator (in a Game Room)
This could fail if no Spectator slots are available in the Room at the time of the request
+ (id) requestWithTargetRoom: | (id <Room>) | room |
room | the Room where the change has to be performed, a null value indicates the last joined Room (default) |