14 #include "../Util/Common.h" 15 #include "../Core/BaseEvent.h" 17 #include <boost/shared_ptr.hpp> 34 SFSEvent(boost::shared_ptr<string> type);
35 SFSEvent(boost::shared_ptr<string> type, boost::shared_ptr<map<
string, boost::shared_ptr<void> > > data);
40 static boost::shared_ptr<string> HANDSHAKE;
167 static boost::shared_ptr<string> SFS_SOCKET_ERROR;
339 static boost::shared_ptr<string> CONNECTION_ATTEMPT_HTTP;
444 static boost::shared_ptr<string>
LOGIN;
static boost::shared_ptr< string > OBJECT_MESSAGE
This Event is received when a User has sent an ObjectMessage request
Definition: SFSEvent.h:1114
static boost::shared_ptr< string > MODERATOR_MESSAGE
The Event is fired when a User receives a Moderator message.
Definition: SFSEvent.h:1021
static boost::shared_ptr< string > ROOM_CAPACITY_CHANGE
The Event is fired in response to a ChangeRoomCapacityRequest
Definition: SFSEvent.h:1494
static boost::shared_ptr< string > INVITATION_REPLY_ERROR
The Event is fired in response to a failed InvitationReplyRequest
Definition: SFSEvent.h:1630
static boost::shared_ptr< string > SPECTATOR_TO_PLAYER_ERROR
The Event is fired in response to a failed SpectatorToPlayerRequest
Definition: SFSEvent.h:1362
static boost::shared_ptr< string > LOGIN
The Event is dispatched in response to a login request.
Definition: SFSEvent.h:444
static boost::shared_ptr< string > USER_FIND_RESULT
The Event is fired in response to a FindUsersRequest
Definition: SFSEvent.h:1555
static boost::shared_ptr< string > CONFIG_LOAD_SUCCESS
Dispatched when the external SmartFox configuration file has been loaded successfully.
Definition: SFSEvent.h:371
static boost::shared_ptr< string > USER_EXIT_ROOM
The Event is fired whenever a User leaves one of the Rooms where the current User is joined...
Definition: SFSEvent.h:810
static boost::shared_ptr< string > ROOM_ADD
The Event is dispatched when a new Room was created inside the Zone under any of the Room Groups that...
Definition: SFSEvent.h:559
static boost::shared_ptr< string > ROOM_GROUP_SUBSCRIBE
The Event is fired in response to a SubscribeRoomGroupRequest
Definition: SFSEvent.h:1224
static boost::shared_ptr< string > PLAYER_TO_SPECTATOR
The Event is fired in response to a failed PlayerToSpectatorRequest
Definition: SFSEvent.h:1339
static boost::shared_ptr< string > ROOM_CREATION_ERROR
The Event is dispatched in response to a failed create room request.
Definition: SFSEvent.h:634
static boost::shared_ptr< string > SPECTATOR_TO_PLAYER
The Event is fired in response to a successful SpectatorToPlayerRequest
Definition: SFSEvent.h:1316
static boost::shared_ptr< string > PROXIMITY_LIST_UPDATE
Dispatched when one more users or one or more MMOItem objects enter/leave the current user's Area of ...
Definition: SFSEvent.h:1712
static boost::shared_ptr< string > LOGOUT
The Event is dispatched in response to a logout request.
Definition: SFSEvent.h:523
static boost::shared_ptr< string > USER_COUNT_CHANGE
The Event is fired whenever the number of users/spectators in a Room changes.
Definition: SFSEvent.h:865
static boost::shared_ptr< string > PLAYER_TO_SPECTATOR_ERROR
The Event is fired in response to a failed UnsubscribeRoomGroupRequest
Definition: SFSEvent.h:1385
static boost::shared_ptr< string > PUBLIC_MESSAGE
The Event is fired when a User sends a public message.
Definition: SFSEvent.h:921
static boost::shared_ptr< string > UDP_INIT
The Event notifies the result of the initial UDP handshake.
Definition: SFSEvent.h:91
static boost::shared_ptr< string > ROOM_JOIN
The Event is dispatched in response to a JoinRoomRequest.
Definition: SFSEvent.h:670
static boost::shared_ptr< string > EXTENSION_RESPONSE
The Event is fired every time a server-side Extension sends a message, usually in response to an Exte...
Definition: SFSEvent.h:1153
static boost::shared_ptr< string > PRIVATE_MESSAGE
The Event is fired when a User receives a private message.
Definition: SFSEvent.h:971
static boost::shared_ptr< string > ROOM_PASSWORD_STATE_CHANGE_ERROR
The Event is fired in response to a failed ChangeRoomPasswordStateRequest
Definition: SFSEvent.h:1475
static boost::shared_ptr< string > CONNECTION_LOST
The Event notifies the disconnection from the Server.
Definition: SFSEvent.h:219
static boost::shared_ptr< string > ROOM_NAME_CHANGE_ERROR
The Event is fired in response to a failed ChangeRoomNameRequest
Definition: SFSEvent.h:1431
This is the main SmartFox Event class. All major system events are found here.
Definition: SFSEvent.h:27
static boost::shared_ptr< string > ROOM_VARIABLES_UPDATE
The Event is fired in response to a SetRoomVariablesRequest
Definition: SFSEvent.h:1177
static boost::shared_ptr< string > PING_PONG
Definition: SFSEvent.h:155
static boost::shared_ptr< string > MMOITEM_VARIABLES_UPDATE
Dispatched when an MMOItem Variable is updated in an MMORoom.
Definition: SFSEvent.h:1773
This is the Base class of all Events in the API
Definition: BaseEvent.h:34
static boost::shared_ptr< string > CRYPTO_INIT
Dispatched in return to the initialization of an encrypted connection.
Definition: SFSEvent.h:1802
static boost::shared_ptr< string > LOGIN_ERROR
The Event is dispatched in response to a failed login request.
Definition: SFSEvent.h:487
static boost::shared_ptr< string > ROOM_GROUP_SUBSCRIBE_ERROR
The Event is fired in response to a failed SubscribeRoomGroupRequest
Definition: SFSEvent.h:1266
static boost::shared_ptr< string > ADMIN_MESSAGE
The Event is fired when a User receives an Admin message.
Definition: SFSEvent.h:1067
static boost::shared_ptr< string > USER_VARIABLES_UPDATE
The Event is fired in response to a SetUserVariablesRequest
Definition: SFSEvent.h:1201
static boost::shared_ptr< string > ROOM_PASSWORD_STATE_CHANGE
The Event is fired in response to a ChangeRoomPasswordStateRequest.
Definition: SFSEvent.h:1452
static boost::shared_ptr< string > ROOM_REMOVE
The Event is dispatched whenever a Room is removed from the Zone, under any of the Room Groups that t...
Definition: SFSEvent.h:594
static boost::shared_ptr< string > CONNECTION_RESUME
The Event is dispatched after a temporary disconnection, when the connection to the Server has been r...
Definition: SFSEvent.h:325
static boost::shared_ptr< string > CONNECTION
The Event notifies the result of a connection attempt.
Definition: SFSEvent.h:143
static boost::shared_ptr< string > CONFIG_LOAD_FAILURE
Dispatched when an error occurs while loading the external SmartFox configuration file...
Definition: SFSEvent.h:400
static boost::shared_ptr< string > INVITATION
The Event is fired when another User has sent you an Invitation
Definition: SFSEvent.h:1575
Definition: SmartFox.cpp:24
static boost::shared_ptr< string > ROOM_GROUP_UNSUBSCRIBE
The Event is fired in response to an UnsubscribeRoomGroupRequest
Definition: SFSEvent.h:1243
static boost::shared_ptr< string > ROOM_GROUP_UNSUBSCRIBE_ERROR
The Event is fired in response to a failed UnsubscribeRoomGroupRequest
Definition: SFSEvent.h:1289
static boost::shared_ptr< string > ROOM_NAME_CHANGE
The Event is fired in response to a ChangeRoomNameRequest
Definition: SFSEvent.h:1408
static boost::shared_ptr< string > INVITATION_REPLY
The Event is fired when a User sends a reply to your Invitation
Definition: SFSEvent.h:1603
static boost::shared_ptr< string > USER_ENTER_ROOM
The Event is fired whenever a User enters one of the Rooms where the current User is joined...
Definition: SFSEvent.h:760
static boost::shared_ptr< string > ROOM_FIND_RESULT
The Event is fired in response to a FindRoomsRequest
Definition: SFSEvent.h:1536
static boost::shared_ptr< string > ROOM_CAPACITY_CHANGE_ERROR
The Event is fired in response to a failed ChangeRoomCapacityRequest
Definition: SFSEvent.h:1517
static boost::shared_ptr< string > ROOM_JOIN_ERROR
The Event is dispatched in response to a failed JoinRoomRequest.
Definition: SFSEvent.h:710
static boost::shared_ptr< string > DEBUG_MESSAGE
Event fired for all log messages
Definition: SFSEvent.h:1668
static boost::shared_ptr< string > CONNECTION_RETRY
The Event notifies the disconnection from the Server.
Definition: SFSEvent.h:267