Quantum 3 3.1.0

Public Member Functions | List of all members
Photon.Realtime.MatchMakingCallbacksContainer Class Reference

Container type for callbacks defined by IMatchmakingCallbacks. See MatchMakingCallbackTargets. More...

Inheritance diagram for Photon.Realtime.MatchMakingCallbacksContainer:
Photon.Realtime.IMatchmakingCallbacks

Public Member Functions

 MatchMakingCallbacksContainer (RealtimeClient client)
 Constructs a new container for the given client. More...
 
void OnCreatedRoom ()
 Interface implementation. More...
 
void OnCreateRoomFailed (short returnCode, string message)
 Interface implementation. More...
 
void OnFriendListUpdate (List< FriendInfo > friendList)
 Interface implementation. More...
 
void OnJoinedRoom ()
 Interface implementation. More...
 
void OnJoinRandomFailed (short returnCode, string message)
 Interface implementation. More...
 
void OnJoinRoomFailed (short returnCode, string message)
 Interface implementation. More...
 
void OnLeftRoom ()
 Interface implementation. More...
 

Detailed Description

Container type for callbacks defined by IMatchmakingCallbacks. See MatchMakingCallbackTargets.

While the interfaces of callbacks wrap up the methods that will be called, the container classes implement a simple way to call a method on all registered objects.

Constructor & Destructor Documentation

◆ MatchMakingCallbacksContainer()

Photon.Realtime.MatchMakingCallbacksContainer.MatchMakingCallbacksContainer ( RealtimeClient  client)
inline

Constructs a new container for the given client.

Parameters
clientThe client which this container related to.

Member Function Documentation

◆ OnCreatedRoom()

void Photon.Realtime.MatchMakingCallbacksContainer.OnCreatedRoom ( )
inline

Interface implementation.

Implements Photon.Realtime.IMatchmakingCallbacks.

◆ OnJoinedRoom()

void Photon.Realtime.MatchMakingCallbacksContainer.OnJoinedRoom ( )
inline

Interface implementation.

Implements Photon.Realtime.IMatchmakingCallbacks.

◆ OnCreateRoomFailed()

void Photon.Realtime.MatchMakingCallbacksContainer.OnCreateRoomFailed ( short  returnCode,
string  message 
)
inline

Interface implementation.

Implements Photon.Realtime.IMatchmakingCallbacks.

◆ OnJoinRandomFailed()

void Photon.Realtime.MatchMakingCallbacksContainer.OnJoinRandomFailed ( short  returnCode,
string  message 
)
inline

Interface implementation.

Implements Photon.Realtime.IMatchmakingCallbacks.

◆ OnJoinRoomFailed()

void Photon.Realtime.MatchMakingCallbacksContainer.OnJoinRoomFailed ( short  returnCode,
string  message 
)
inline

Interface implementation.

Implements Photon.Realtime.IMatchmakingCallbacks.

◆ OnLeftRoom()

void Photon.Realtime.MatchMakingCallbacksContainer.OnLeftRoom ( )
inline

Interface implementation.

Implements Photon.Realtime.IMatchmakingCallbacks.

◆ OnFriendListUpdate()

void Photon.Realtime.MatchMakingCallbacksContainer.OnFriendListUpdate ( List< FriendInfo >  friendList)
inline

Interface implementation.

Implements Photon.Realtime.IMatchmakingCallbacks.