Click or drag to resize

SFSEventSPECTATOR_TO_PLAYER_ERROR Field

Dispatched when an error occurs while the current user is being turned from spectator to player in a Game Room.

Namespace:  Sfs2X.Core
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static readonly string SPECTATOR_TO_PLAYER_ERROR

Field Value

Type: String
Remarks
This event is fired in response to the SpectatorToPlayerRequest request in case the operation failed.

The Params object contains the following parameters:

ParameterDescription
errorMessage(string) A message containing the description of the error.
errorCode(short) The error code.
Examples
See the SpectatorToPlayerRequest example.
See Also