SFSEventPLAYER_TO_SPECTATOR_ERROR Field |
Dispatched when an error occurs while the current user is being turned from player to spectator in 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_ERROR
Field Value
Type:
StringRemarks
This event is fired in response to the
PlayerToSpectatorRequest request in case the operation failed.
The
Params object contains the following parameters:
Parameter | Description |
---|
errorMessage | (string) A message containing the description of the error. |
errorCode | (short) The error code. |
Examples See Also