Dispatched when a player is turned to a spectator inside a Game Room.
SmartFox2X (in SmartFox2X.dll) Version: 220.127.116.11 (1.7.11)
public static readonly string PLAYER_TO_SPECTATOR
This event is fired in response to the PlayerToSpectatorRequest
request if the operation is executed successfully.
object contains the following parameters:
|room||(Room) An object representing the Room in which the player is turned to spectator.|
|user||(User) An object representing the player who was turned to spectator.|Examples See Also