SFSEventPLAYER_TO_SPECTATOR Field |
Dispatched when a player is turned to a spectator inside a Game Room.
Namespace:
Sfs2X.Core
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public static readonly string PLAYER_TO_SPECTATOR
Field Value
Type:
StringRemarks
This event is fired in response to the
PlayerToSpectatorRequest request if the operation is executed successfully.
The
Params object contains the following parameters:
Parameter | Description |
---|
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