Photon C++ Client API: Listener Class Reference

Photon C++ Client API

Photon C++ Client API  4.1.12.2
Listener Class Referenceabstract
Inheritance diagram for Listener:
Collaboration diagram for Listener:

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 localPlayerNr, const Common::Hashtable &roomProperties, const Common::Hashtable &playerProperties, int errorCode, const Common::JString &errorString)=0
 
virtual void joinOrCreateRoomReturn (int localPlayerNr, const Common::Hashtable &roomProperties, const Common::Hashtable &playerProperties, int errorCode, const Common::JString &errorString)=0
 
virtual void joinRoomReturn (int localPlayerNr, const Common::Hashtable &roomProperties, const Common::Hashtable &playerProperties, int errorCode, const Common::JString &errorString)=0
 
virtual void joinRandomRoomReturn (int localPlayerNr, const Common::Hashtable &roomProperties, const Common::Hashtable &playerProperties, int errorCode, const Common::JString &errorString)=0
 
virtual void leaveRoomReturn (int errorCode, const Common::JString &errorString)=0
 
virtual void joinLobbyReturn (void)=0
 
virtual void leaveLobbyReturn (void)=0
 
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 onDirectMessage (const Common::Object &, int, bool)
 
virtual void onCustomOperationResponse (const Photon::OperationResponse &operationResponse)
 

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.