Creates a new SpectatorToPlayerRequest instance.Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 18.104.22.168 (1.7.0)
public SpectatorToPlayerRequest( Room targetRoom )
- Type: Sfs2X.Entities..::..Room
The object corresponding to the Room in which the spectator should be turned to player. If null, the last Room joined by the user is used (default = null).
The instance must be passed to the SmartFox.Send method for the request to be performed.