Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
Listener Class Referenceabstract
Inheritance diagram for Listener:
Inheritance graph
[legend]
Collaboration diagram for Listener:
Collaboration graph
[legend]

Public Member Functions

virtual void debugReturn (int debugLevel, const Common::JString &string)=0
 
virtual void connectionErrorReturn (int errorCode)=0
 
virtual void clientErrorReturn (int errorCode)=0
 
virtual void warningReturn (int warningCode)=0
 
virtual void serverErrorReturn (int errorCode)=0
 
virtual void joinRoomEventAction (int playerNr, const Common::JVector< int > &playernrs, const Player &player)=0
 
virtual void leaveRoomEventAction (int playerNr, bool isInactive)=0
 
virtual void customEventAction (int playerNr, nByte eventCode, const Common::Object &eventContent)=0
 
virtual void connectReturn (int errorCode, const Common::JString &errorString, const Common::JString &region, const Common::JString &cluster)=0
 
virtual void disconnectReturn (void)=0
 
virtual void createRoomReturn (int, const Common::Hashtable &, const Common::Hashtable &, int, const Common::JString &)
 
virtual void joinOrCreateRoomReturn (int, const Common::Hashtable &, const Common::Hashtable &, int, const Common::JString &)
 
virtual void joinRandomOrCreateRoomReturn (int, const Common::Hashtable &, const Common::Hashtable &, int, const Common::JString &)
 
virtual void joinRoomReturn (int, const Common::Hashtable &, const Common::Hashtable &, int, const Common::JString &)
 
virtual void joinRandomRoomReturn (int, const Common::Hashtable &, const Common::Hashtable &, int, const Common::JString &)
 
virtual void leaveRoomReturn (int errorCode, const Common::JString &errorString)=0
 
virtual void joinLobbyReturn (void)
 
virtual void leaveLobbyReturn (void)
 
virtual void onFindFriendsResponse (void)
 
virtual void onLobbyStatsResponse (const Common::JVector< LobbyStatsResponse > &)
 
virtual void webRpcReturn (int, const Common::JString &, const Common::JString &, int, const Common::Dictionary< Common::Object, Common::Object > &)
 
virtual void onRoomListUpdate (void)
 
virtual void onRoomPropertiesChange (const Common::Hashtable &)
 
virtual void onPlayerPropertiesChange (int, const Common::Hashtable &)
 
virtual void onAppStatsUpdate (void)
 
virtual void onLobbyStatsUpdate (const Common::JVector< LobbyStatsResponse > &)
 
virtual void onCacheSliceChanged (int)
 
virtual void onMasterClientChanged (int, int)
 
virtual void onCustomAuthenticationIntermediateStep (const Common::Dictionary< Common::JString, Common::Object > &)
 
virtual void onAvailableRegions (const Common::JVector< Common::JString > &, const Common::JVector< Common::JString > &)
 
virtual void onSecretReceival (const Common::JString &)
 
virtual void onDirectConnectionEstablished (int)
 
virtual void onDirectConnectionFailedToEstablish (int)
 
virtual void onDirectMessage (const Common::Object &, int, bool)
 
virtual void onCustomOperationResponse (const Photon::OperationResponse &)
 
virtual void onGetRoomListResponse (const Common::JVector< Common::Helpers::SharedPointer< Room > > &, const Common::JVector< Common::JString > &)
 

Member Function Documentation

◆ debugReturn()

virtual void debugReturn ( int  debugLevel,
const Common::JString string 
)
pure virtual

This is the callback function for debug-messages.

Parameters
debugLevelone of the values in DebugLevel
stringthe formatted debug string
See also
BaseListener

Implements BaseListener.