The SFSEvent type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberADMIN_MESSAGE
Dispatched when the current user receives a message from an administrator user.
Public fieldStatic memberCONFIG_LOAD_FAILURE
Dispatched when an error occurs while loading the external SmartFox configuration file.
Public fieldStatic memberCONFIG_LOAD_SUCCESS
Dispatched when the external client configuration file is loaded successfully.
Public fieldStatic memberCONNECTION
Dispatched when a connection between the client and a SmartFoxServer 2X instance is attempted.
Public fieldStatic memberCONNECTION_ATTEMPT_HTTP
Dispatched when the client cannot establish a socket connection to the server and the useBlueBox parameter is active in the configuration.
Public fieldStatic memberCONNECTION_LOST
Dispatched when the connection between the client and the SmartFoxServer 2X instance is interrupted.
Public fieldStatic memberCONNECTION_RESUME
Dispatched when the connection between the client and the SmartFoxServer 2X instance is re-established after a temporary disconnection, while the SmartFoxServer 2X HRC system is available in the Zone.
Public fieldStatic memberCONNECTION_RETRY
Dispatched when the connection between the client and the SmartFoxServer 2X instance is interrupted abruptly while the SmartFoxServer 2X HRC system is available in the Zone.
Public fieldStatic memberCRYPTO_INIT
Dispatched in return to the initialization of an encrypted connection.
Public fieldStatic memberEXTENSION_RESPONSE
Dispatched when data coming from a server-side Extension is received by the current user.
Public fieldStatic memberHANDSHAKE
Public fieldStatic memberINVITATION
Dispatched when the current user receives an invitation from another user.
Public fieldStatic memberINVITATION_REPLY
Dispatched when the current user receives a reply to an invitation he sent previously.
Public fieldStatic memberINVITATION_REPLY_ERROR
Dispatched when an error occurs while the current user is sending a reply to an invitation he received.
Public fieldStatic memberLOGIN
Dispatched when the current user performs a successful login in a server Zone.
Public fieldStatic memberLOGIN_ERROR
Dispatched if an error occurs while the user login is being performed.
Public fieldStatic memberLOGOUT
Dispatched when the current user performs logs out of the server Zone.
Public fieldStatic memberMMOITEM_VARIABLES_UPDATE
Dispatched when an MMOItem Variable is updated in an MMORoom.
Public fieldStatic memberMODERATOR_MESSAGE
Dispatched when the current user receives a message from a moderator user.
Public fieldStatic memberOBJECT_MESSAGE
Dispatched when an object containing custom data is received by the current user.
Public fieldStatic memberPING_PONG
Dispatched when a new lag value measurement is available.
Public fieldStatic memberPLAYER_TO_SPECTATOR
Dispatched when a player is turned to a spectator inside a Game Room.
Public fieldStatic memberPLAYER_TO_SPECTATOR_ERROR
Dispatched when an error occurs while the current user is being turned from player to spectator in a Game Room.
Public fieldStatic memberPRIVATE_MESSAGE
Dispatched when a private message is received by the current user.
Public fieldStatic memberPROXIMITY_LIST_UPDATE
Dispatched when one more users or one or more MMOItem objects enter/leave the current user's Area of Interest in MMORooms.
Public fieldStatic memberPUBLIC_MESSAGE
Dispatched when a public message is received by the current user.
Public fieldStatic memberROOM_ADD
Dispatched when a new Room is created inside the Zone under any of the Room Groups that the client subscribed.
Public fieldStatic memberROOM_CAPACITY_CHANGE
Dispatched when the capacity of a Room is changed.
Public fieldStatic memberROOM_CAPACITY_CHANGE_ERROR
Dispatched when an error occurs while attempting to change the capacity of a Room.
Public fieldStatic memberROOM_CREATION_ERROR
Dispatched if an error occurs while creating a new Room.
Public fieldStatic memberROOM_FIND_RESULT
Dispatched when a Rooms search is completed.
Public fieldStatic memberROOM_GROUP_SUBSCRIBE
Dispatched when a Group is subscribed by the current user.
Public fieldStatic memberROOM_GROUP_SUBSCRIBE_ERROR
Dispatched when an error occurs while a Room Group is being subscribed.
Public fieldStatic memberROOM_GROUP_UNSUBSCRIBE
Dispatched when a Group is unsubscribed by the current user.
Public fieldStatic memberROOM_GROUP_UNSUBSCRIBE_ERROR
Dispatched when an error occurs while a Room Group is being unsubscribed.
Public fieldStatic memberROOM_JOIN
Dispatched when a Room is joined by the current user.
Public fieldStatic memberROOM_JOIN_ERROR
Dispatched when an error occurs while the current user is trying to join a Room.
Public fieldStatic memberROOM_NAME_CHANGE
Dispatched when the name of a Room is changed.
Public fieldStatic memberROOM_NAME_CHANGE_ERROR
Dispatched when an error occurs while attempting to change the name of a Room.
Public fieldStatic memberROOM_PASSWORD_STATE_CHANGE
Dispatched when the password of a Room is set, changed or removed.
Public fieldStatic memberROOM_PASSWORD_STATE_CHANGE_ERROR
Dispatched when an error occurs while attempting to set, change or remove the password of a Room.
Public fieldStatic memberROOM_REMOVE
Dispatched when a Room belonging to one of the Groups subscribed by the client is removed from the Zone.
Public fieldStatic memberROOM_VARIABLES_UPDATE
Dispatched when a Room Variable is updated.
Public fieldStatic memberSOCKET_ERROR
Dispatched when a low level socket error is detected, for example bad/inconsistent data.
Public fieldStatic memberSPECTATOR_TO_PLAYER
Dispatched when a spectator is turned to a player inside a Game Room.
Public fieldStatic memberSPECTATOR_TO_PLAYER_ERROR
Dispatched when an error occurs while the current user is being turned from spectator to player in a Game Room.
Public fieldStatic memberUDP_INIT
Dispatched when the result of the UDP handshake is notified.
Public fieldStatic memberUSER_COUNT_CHANGE
Dispatched when the number of users/players or spectators inside a Room changes.
Public fieldStatic memberUSER_ENTER_ROOM
Dispatched when one of the Rooms joined by the current user is entered by another user.
Public fieldStatic memberUSER_EXIT_ROOM
Dispatched when one of the Rooms joined by the current user is left by another user, or by the current user himself.
Public fieldStatic memberUSER_FIND_RESULT
Dispatched when a users search is completed
Public fieldStatic memberUSER_VARIABLES_UPDATE
Dispatched when a User Variable is updated.

See Also