SFSEventSPECTATOR_TO_PLAYER Field |
Dispatched when a spectator is turned to a player 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 SPECTATOR_TO_PLAYER
Field Value
Type:
StringRemarks
This event is fired in response to the
SpectatorToPlayerRequest 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 spectator is turned to player. |
user | (User) An object representing the spectator who was turned to player. |
playerId | (int) The player id of the user. |
Examples See Also