![]() |
Diarkis C++Client Library API Document
|
Base class that wraps the IDiarkisMatchMaker class for easy use of MatchMaker functionality. More...
#include <DiarkisMatchMakerBase.h>
Public Member Functions | |
DiarkisMatchMakerBase () | |
DiarkisMatchMakerBase constructor. More... | |
virtual | ~DiarkisMatchMakerBase () |
DiarkisMatchMakerBase destructor. More... | |
virtual void | SetupTcpMatchMaker (const std::shared_ptr< IDiarkisTcp > &tcp, const std::shared_ptr< LoggerFactory > &loggerFactory) |
Set up MatchMaker with TCP protocol. More... | |
virtual void | SetupUdpMatchMaker (const std::shared_ptr< IDiarkisUdp > &udp, const std::shared_ptr< LoggerFactory > &loggerFactory, const std::shared_ptr< DiarkisP2PBase > &p2pBase) |
Setup MatchMaker with UDP protocol. More... | |
void | SetRoomModule (const std::shared_ptr< IDiarkisRoom > &room) |
Set the Room module. More... | |
virtual bool | SendHostMatchmaking (const char *uid, uint16_t maxMembers, uint16_t ttl, const char *profileID, const char *tag, const MatchMakerCondition *conditions, size_t conditionsCount, const uint8_t *metadata, size_t metadataSize, bool bReserveOnly) |
Starts matchmaking as host. More... | |
virtual bool | SendHostMatchmaking (const std::string &uid, uint16_t maxMembers, uint16_t ttl, const std::string &profileID, const std::string &tag, const std::vector< MatchMakerCondition > &conditions, const std::vector< uint8_t > &metadata, bool bReserveOnly) |
Same as SendHostMatchmaking() More... | |
virtual void | SendAbortMatchmaking (void) |
You will be excluded from the matchmaking search. Matchmaking is not destroyed and participating members remain. More... | |
virtual void | SendDisbandMatchmaking (const uint8_t *message, size_t messageSize) |
Discard current matchmaking. Participating users will be dismissed. More... | |
virtual void | SendDisbandMatchmaking (const std::vector< uint8_t > &message) |
Same as SendDisbandMatchmaking() More... | |
virtual void | SendClaimReservedMatchmaking (const uint8_t *message, size_t messageSize) |
Participate in a reserved matching as a host. More... | |
virtual void | SendClaimReservedMatchmaking (const std::vector< uint8_t > &message) |
Same as SendClaimReservedMatchmaking() More... | |
virtual void | SendJoinMatchmakingFromResult (MatchMakerResultItem &result, const uint8_t *message, size_t messageSize) |
Participate in matchmaking as a guest using the results of matchmaking. More... | |
virtual void | SendJoinMatchmakingFromResult (MatchMakerResultItem &result, const std::vector< uint8_t > &message) |
Same as SendJoinMatchmakingFromResult() More... | |
virtual void | SendLeaveMatchmaking (const uint8_t *message, size_t messageSize) |
Exit from matchmaking in which you are a guest. More... | |
virtual void | SendLeaveMatchmaking (const std::vector< uint8_t > &message) |
Same as SendLeaveMatchmaking() More... | |
virtual void | SendSync (const uint8_t *message, size_t messageSize) |
マッチしたメンバーにメッセージを送信します。 More... | |
virtual void | SendSync (const std::vector< uint8_t > &message) |
Same as SendSync() More... | |
virtual void | SendNotifyMatchmakingCompletion (void) |
Notifies all matching clients that matchmaking is complete. More... | |
virtual void | SendP2PAddressSync (uint8_t linkedClients=0) |
Notifies matched members that a P2P connection has been initiated. More... | |
virtual void | SendSearch (const char **profileIDs, size_t profileIDsCount, const char *tag, const MatchMakerCondition *conditions, size_t conditionsCount, bool joinFlag, uint16_t howmany, const uint8_t *message, size_t messageSize) |
Search for matchmaking using profile IDs. More... | |
virtual void | SendSearch (const std::vector< std::string > &profileIDs, const std::string &tag, const std::vector< MatchMakerCondition > &conditions, bool joinFlag, uint16_t howmany, const std::vector< uint8_t > &message) |
Same as SendSearch() More... | |
virtual bool | SendStartBackfill (const char *roomID) |
Adds the specified room to the matching search. More... | |
virtual bool | SendStartBackfill (const std::string &roomID) |
Same as SendStartBackfill() More... | |
virtual bool | SendKick (const char *userID) |
Forces the specified user out of matchmaking. More... | |
virtual bool | SendKick (const std::string &userID) |
Same as SendKick() More... | |
virtual bool | SendHostTeamMatchmaking (const char *uid, uint16_t maxMembers, uint16_t ttl, const char *profileID, const char *tag, const MatchMakerCondition *conditions, size_t conditionsCount, const uint8_t *metadata, size_t metadataSize, bool bReserveOnly) |
Starts team matchmaking as host. More... | |
virtual bool | SendHostTeamMatchmaking (const std::string &uid, uint16_t maxMembers, uint16_t ttl, const std::string &profileID, const std::string &tag, const std::vector< MatchMakerCondition > &conditions, const std::vector< uint8_t > &metadata, bool bReserveOnly) |
Same as SendHostTeamMatchmaking() More... | |
virtual void | SendSearchTeamMatchmaking (const char **profileIDs, size_t profileIDsCount, const char *tag, const MatchMakerCondition *conditions, size_t conditionsCount, bool joinFlag, uint16_t howmany, const uint8_t *message, size_t messageSize) |
Search for matchmaking using profile IDs. More... | |
virtual void | SendSearchTeamMatchmaking (const std::vector< std::string > &profileIDs, const std::string &tag, const std::vector< MatchMakerCondition > &conditions, bool joinFlag, uint16_t howmany, const std::vector< uint8_t > &message) |
Same as SendSearchTeamMatchmaking() More... | |
virtual void | SendCommit (void) |
Notifies all matched team members to participate in team matchmaking. More... | |
virtual void | SendIssueTicket (uint8_t ticketType) |
Requests the server to issue a ticket to initiate matchmaking. More... | |
virtual void | SendTicketCancel (uint8_t ticketType) |
Cancels an issued matchmaking ticket. More... | |
virtual void | SendTicketBroadcast (uint8_t ticketType, const uint8_t *message, size_t messageSize) |
Broadcast message to clients matched by ticket. More... | |
virtual void | SendTicketBroadcast (uint8_t ticketType, const std::vector< uint8_t > &message) |
Same as SendTicketBroadcast() More... | |
virtual void | SendTicketLeave (uint8_t ticketType) |
Exits the room created by the ticket. More... | |
Diarkis::StdString | GetRoomID (void) |
Get Room ID. More... | |
const Diarkis::StdString & | GetOwnerUID (void) |
Gets the owner UID of the matched member. More... | |
bool | IsComplete (void) |
Whether matchmaking has been completed. More... | |
bool | IsGotoRoom (void) |
Whether or not a message wasent to move to the game scene. More... | |
void | ResetGotoRoom (void) |
Reset flag to move to game scene. More... | |
void | ClearList (void) |
Empty the list of members. More... | |
const Diarkis::StdString & | GetTicketMessage (void) |
Retrieves messages received when matching by ticket is completed. More... | |
const Diarkis::StdString & | GetTicketBroadcastMessage (void) |
Retrieve received broadcast messages. More... | |
bool | IsTicketComplete (void) |
Whether the ticket was completed or not. More... | |
bool | IsTicketCancel (void) |
Whether the ticket was canceled or not. More... | |
void | GetMatchingMemberList (Diarkis::StdVector< Diarkis::StdString > &memberList) |
Obtain matched members. More... | |
void | GetTeamMatchingMemberList (Diarkis::StdVector< Diarkis::StdString > &memberList) |
Obtain matched members with team matching. More... | |
void | SetOwnUID (const char *uid) |
Set your user ID. More... | |
void | SetOwnUID (const std::string &uid) |
Same as SetOwnUID() More... | |
Protected Member Functions | |
virtual void | OnHostMatchmaking (const DiarkisMMHostEventArgs &e) |
Callback function triggered when matching is initiated as host. More... | |
virtual void | OnAbortMatchmaking (const DiarkisMMResponseEventArgs &e) |
Callback function triggered upon leaving the matching target. More... | |
virtual void | OnDisbandMatchmaking (const DiarkisMMSyncEventArgs &e) |
Callback function triggered when a match is disbanded. More... | |
virtual void | OnMemberLeave (const DiarkisMMSyncEventArgs &e) |
Callback function triggered when a matched member leaves the room. More... | |
virtual void | OnMemberJoin (const DiarkisMMSyncEventArgs &e) |
Callback function triggered when another client successfully matches and enters. More... | |
virtual void | OnMemberSync (const DiarkisMMSyncEventArgs &e) |
Callback function triggered when a message is sent from a matched member. More... | |
virtual void | OnJoin (const DiarkisMMJoinResponseEventArgs &e) |
Callback function triggered upon joining a matchmaking. More... | |
virtual void | OnLeave (const DiarkisMMResponseEventArgs &e) |
Callback function triggered when leaving a matchmaking. More... | |
virtual void | OnComplete (void) |
Callback function triggered when a match is completed. More... | |
virtual void | OnSearch (const DiarkisMMJoinResponseEventArgs &e) |
Callback function triggered when a matching search is completed. More... | |
virtual void | OnResutls (const DiarkisMMResultEventArgs &e) |
Callback function called when the search for matching is complete. More... | |
virtual void | OnP2PAddress (const DiarkisP2PEventArgs &e) |
Callback function triggered when starting P2P. More... | |
virtual void | OnP2PResponse (const DiarkisMMResponseEventArgs &e) |
Callback function triggered when starting P2P. More... | |
virtual void | OnBackfillEvent (const DiarkisMMResponseEventArgs &e) |
Callback function triggered when a room is added to the matching search. More... | |
virtual void | OnKick (const DiarkisPayloadEventArgs &e) |
Callback function triggered when a host kicks a particular member out of matching. More... | |
virtual void | OnKickResponse (const DiarkisMMResponseEventArgs &e) |
Callback function triggered on the host when the host kicks a particular member out of matching. More... | |
virtual void | OnCommit (const DiarkisMMResponseEventArgs &e) |
Callback function called when host prompts participation in team matchmaking. More... | |
virtual void | OnCompleteCommit (const DiarkisMMJoinResponseEventArgs &e) |
Callback function called on team members when Commit is executed. More... | |
virtual void | OnTeamHostMatchmaking (const DiarkisMMHostEventArgs &e) |
Callback function triggered when team matching is initiated as host. More... | |
virtual void | OnTeamSearch (const DiarkisMMJoinResponseEventArgs &e) |
Callback function triggered when a team matching search is completed. More... | |
virtual void | OnTeamMemberJoin (const DiarkisMMSyncEventArgs &e) |
Callback function triggered when another client successfully matches and enters. More... | |
virtual void | OnIssueTicketResponse (const DiarkisMMResponseEventArgs &e) |
Gets the event fired when a response to an IssueTicket is received from the server. More... | |
virtual void | OnTicketComplete (const DiarkisMMResponseEventArgs &e) |
Callback function triggered when a ticket processed by IssueTicket is completed. More... | |
virtual void | OnHostChange (const DiarkisMMStringEventArgs &e) |
Callback function triggered when matchmaking host changes. More... | |
virtual void | OnTicketCancel (const DiarkisMMTicketTypeEventArgs &e) |
Callback function triggered when a TicketCancel is received. More... | |
virtual void | OnTicketCancelResponse (const DiarkisMMResponseEventArgs &e) |
Callback function triggered when a TicketCancel response is received. More... | |
virtual void | OnTicketBroadcastResponse (const DiarkisMMResponseEventArgs &e) |
Callback function triggered when a TicketBroadcast response is received. More... | |
virtual void | OnTicketBroadcast (const DiarkisMMSyncEventArgs &e) |
Callback function triggered when a TicketBroadcast is received. More... | |
virtual void | OnTicketLeave (const DiarkisMMResponseEventArgs &e) |
Callback function triggered when a TicketLeave response is received. More... | |
virtual void | OnResponse (const DiarkisResponseEventArgs &args, DiarkisTransportType tt) |
Callback function triggered when a response is received from the server. More... | |
virtual void | OnPush (const DiarkisPushEventArgs &args, DiarkisTransportType tt) |
Callback function triggered when a push is received from the server. More... | |
Protected Attributes | |
std::shared_ptr< IDiarkisMatchMaker > | mm_ |
Pointer to IDiarkisMatchMaker class. More... | |
std::shared_ptr< IDiarkisTcp > | tcp_ |
Pointer to IDiarkisTcp class. More... | |
std::shared_ptr< IDiarkisUdp > | udp_ |
Pointer to IDiarkisUdp class. More... | |
std::shared_ptr< IDiarkisRoom > | room_ |
Pointer to IDiarkisRoom class. More... | |
std::shared_ptr< DiarkisP2PBase > | p2pBase_ |
Pointer to DiarkisP2PBase class. More... | |
std::shared_ptr< IDiarkisLogger > | logger_ |
Pointer to IDiarkisLogger class. More... | |
Diarkis::StdVector< std::function< void()> > | eventUnsubscriptions_ |
Lambda function control list. More... | |
Diarkis::StdVector< uint8_t > | Buff_ |
Buffer for transmission. More... | |
Diarkis::StdString | myUid_ |
My user ID. More... | |
Diarkis::StdString | ownerUid_ |
Matching owner's user ID. More... | |
Diarkis::StdString | ticketBroadcastMessage_ |
Message received on TicketBroadcast. More... | |
std::recursive_mutex | list_mutex_ |
list mutex More... | |
Diarkis::StdVector< Diarkis::StdString > | memberLists_ |
User ID list of matched members. More... | |
Diarkis::StdVector< Diarkis::StdString > | teamMemberLists_ |
User ID list of team matched members. More... | |
bool | bComplete_ |
Whether matching has been completed. More... | |
bool | bGotoRoom_ |
Whether or not a message wasent to move to the game scene. More... | |
bool | bTicketComplete_ |
Whether ticket matching has been completed. More... | |
Diarkis::StdString | ticketMessage_ |
Message when matching by ticket is completed. More... | |
bool | bTicketCancel_ |
Whether matching by ticket was cancelled. More... | |
bool | bTeamMatchOwner_ |
Whether the owner who issued the TeamMatch Host or Search. More... | |
Base class that wraps the IDiarkisMatchMaker class for easy use of MatchMaker functionality.
DiarkisMatchMakerBase::DiarkisMatchMakerBase | ( | ) |
DiarkisMatchMakerBase constructor.
|
virtual |
DiarkisMatchMakerBase destructor.
|
virtual |
Set up MatchMaker with TCP protocol.
Register loggers and callback functions.
[in] | tcp | Pointer to IDiarkisTcp class |
[in] | loggerFactory | Pointer to logger class |
|
virtual |
Setup MatchMaker with UDP protocol.
Register loggers and callback functions.
[in] | udp | Pointer to IDiarkisUdp class |
[in] | loggerFactory | Pointer to logger class |
[in] | p2pBase | Pointer to DiarkisP2PBase class |
void DiarkisMatchMakerBase::SetRoomModule | ( | const std::shared_ptr< IDiarkisRoom > & | room | ) |
Set the Room module.
[in] | room | Pointer to IDiarkisRoom class |
|
virtual |
Starts matchmaking as host.
Callback events registered with GetHostEvent() (e.g. OnHostMatchmaking) will be triggered.
[in] | uid | Your user ID |
[in] | maxMembers | Maximum number of clients to match |
[in] | ttl | Time (in seconds) before matchmaking is discarded. |
[in] | profileID | Profile ID of the matching |
[in] | tag | matching tag |
[in] | conditions | Structure that specifies conditions to match. |
[in] | conditionsCount | Length of the conditionMap |
[in] | metadata | Optional custom data passed to matchmaking search results |
[in] | metadataSize | Length of the metadata |
[in] | bReserveOnly | Determines whether to join the room after the matching is complete. true = After the matching is completed, only the reservation is made and you will not join the room. false = After matching is completed, you will join a room with a member. |
|
virtual |
|
virtual |
You will be excluded from the matchmaking search. Matchmaking is not destroyed and participating members remain.
Triggers a callback event (e.g. OnAbortMatchmaking) registered with GetAbortEvent(). This function can only be called by the host.
|
virtual |
Discard current matchmaking. Participating users will be dismissed.
A callback event (e.g. OnDisbandMatchmaking) registered with GetDisbandEvent() is triggered by the server.
This function can only be called by the host.
[in] | message | Message sent to other matching clients |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
Participate in a reserved matching as a host.
If the attempt succeeds, the callback event (e.g. OnMemberJoin) registered with GetMemberJoinEvent() will be triggered
on all matching clients. SendHostMatchmaking() must be called with bReserveOnly=true.
[in] | message | Message to send to other matching clients |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
Participate in matchmaking as a guest using the results of matchmaking.
If successful, enter matchmaking (room).
[in] | result | Structure of matchmaking information |
[in] | message | Message sent to other matching clients |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
Exit from matchmaking in which you are a guest.
Triggers a callback event (e.g. OnLeave) registered with GetLeaveEvent().
[in] | message | Message sent to other matching clients |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
マッチしたメンバーにメッセージを送信します。
~@japanese
GetMemberSyncEvent() で登録されたコールバックイベント(例:OnMemberSync)がトリガーされます。
[in] | message | 他のマッチングクライアントに送信されるメッセージ |
[in] | messageSize | メッセージの長さ |
Sends a message to the matched member.
Callback event (e.g. OnMemberSync) registered with GetMemberSyncEvent() will be triggered.
[in] | message | Message sent to other matching clients |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
Notifies all matching clients that matchmaking is complete.
Triggers a callback event (e.g. OnComplete) registered with GetCompleteEvent() to all members including yourself.
This function can only be called by the host.
|
virtual |
Notifies matched members that a P2P connection has been initiated.
Triggers a callback event (e.g. OnP2PAddress) registered with GetP2PAddressEvent() on all members including yourself.
You will receive a list of addresses of members matched in the callback event.
This function must be executed by only one of the matched members.
[in] | linkedClients | Specifies the number of clients to establish a P2P connection. 0 = Receive addresses of all matched members. n = Receive addresses of n randomly selected members from among the matched members. |
|
virtual |
Search for matchmaking using profile IDs.
[in] | profileIDs | Multiple matching profiles can be used to search for matchmaking. |
[in] | profileIDsCount | Number of profiles |
[in] | tag | Specifies the tag to search. Matchmaking that specifies the same tag will be searched. |
[in] | conditions | Specifies the condition to search. |
[in] | conditionsCount | Number of the conditions |
[in] | joinFlag | Determines whether to join the room after a match is made. true = The client will automatically join the room; callback events registered with GetSearchEvent() (e.g. OnSearch) will be triggered. false = The client will receive a list of search results; the callback event registered with GetResultsEvent() (e.g. OnResutls) will be triggered. |
[in] | howmany | matches in the search results |
[in] | message | Message sent to other clients who matched |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
Adds the specified room to the matching search.
A callback event (e.g. OnBackfillEvent) registered with GetBackfillEvent() will be triggered.
It is used to compensate members when a member leaves the room after the match has been finished.
[in] | roomID | Room ID to be added to the matching search |
|
virtual |
|
virtual |
Forces the specified user out of matchmaking.
A callback event (e.g. OnKickResponse) registered with GetKickResponseEvent() will be triggered.
If the specified user is kicked, a callback event registered with GetKickEvent() (e.g. OnKick)
will be triggered for all matching users, including the kicked user. Only matchmaking hosts can execute kicks.
[in] | userID | User ID of the user to kick |
|
virtual |
|
virtual |
Starts team matchmaking as host.
Callback events registered with GetTeamHostEvent() (e.g. OnTeamHostMatchmaking) will be triggered.
[in] | uid | Your user ID |
[in] | maxMembers | Specify the maximum number of people to be matched. The number of matches is the number of teams x the number of people in the team. |
[in] | ttl | Time (in seconds) before matchmaking is discarded. |
[in] | profileID | Profile ID of the matching |
[in] | tag | matching tag |
[in] | conditions | Structure that specifies conditions to match. |
[in] | conditionsCount | Length of the conditionMap |
[in] | metadata | Optional custom data passed to matchmaking search results |
[in] | metadataSize | Length of the metadata |
[in] | bReserveOnly | Determines whether to join the room after the matching is complete. true = After the matching is completed, only the reservation is made and you will not join the room. false = After matching is completed, you will join a room with a member. |
|
virtual |
|
virtual |
Search for matchmaking using profile IDs.
[in] | profileIDs | Multiple matching profiles can be used to search for matchmaking. |
[in] | profileIDsCount | Number of profiles |
[in] | tag | Specifies the tag to search. Matchmaking that specifies the same tag will be searched. |
[in] | conditions | Specifies the condition to search. |
[in] | conditionsCount | Number of the conditions |
[in] | joinFlag | Determines whether to join the room after a match is made. true = The client will automatically join the room; callback events registered with GetSearchEvent() (e.g. OnSearch) will be triggered. false = The client will receive a list of search results; the callback event registered with GetResultsEvent() (e.g. OnResutls) will be triggered. |
[in] | howmany | matches in the search results |
[in] | message | Message sent to other clients who matched |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
Notifies all matched team members to participate in team matchmaking.
Callback events (e.g. OnCommit) registered with GetCommitEvent() will be triggered.
Triggers callback events (e.g. OnCompleteCommit) registered with GetCompleteCommitEvent() on all team members.
When a team is committed, any previous matchmaking that formed the team is discarded.
Committed members will be able to receive synchronization messages.
This function is only available when team matchmaking is used, and can only be called by the host.
|
virtual |
Requests the server to issue a ticket to initiate matchmaking.
Triggers a callback event (e.g. OnTicketComplete) registered with GetTicketCompleteEvent().
The matchmaking logic is controlled by the server, and the client only waits for the callback event to occur.
[in] | ticketType | type of matching ticket |
|
virtual |
Cancels an issued matchmaking ticket.
Triggers a callback event (e.g. OnTicketCancel) registered with GetTicketCancelEvent().
[in] | ticketType | Type of matching ticket. |
|
virtual |
Broadcast message to clients matched by ticket.
*
Triggers a callback event (e.g. OnTicketBroadcast) registered with GetTicketBroadcastEvent().
[in] | ticketType | Type of matching ticket |
[in] | message | Message to be sent to other clients |
[in] | messageSize | Length of the message |
|
virtual |
|
virtual |
Exits the room created by the ticket.
Triggers a callback event (e.g. OnTicketLeave) registered with GetTicketLeaveEvent().
[in] | ticketType | Type of matching ticket. |
Diarkis::StdString DiarkisMatchMakerBase::GetRoomID | ( | void | ) |
Get Room ID.
const Diarkis::StdString & DiarkisMatchMakerBase::GetOwnerUID | ( | void | ) |
Gets the owner UID of the matched member.
bool DiarkisMatchMakerBase::IsComplete | ( | void | ) |
Whether matchmaking has been completed.
bool DiarkisMatchMakerBase::IsGotoRoom | ( | void | ) |
Whether or not a message wasent to move to the game scene.
void DiarkisMatchMakerBase::ResetGotoRoom | ( | void | ) |
Reset flag to move to game scene.
void DiarkisMatchMakerBase::ClearList | ( | void | ) |
Empty the list of members.
const Diarkis::StdString & DiarkisMatchMakerBase::GetTicketMessage | ( | void | ) |
Retrieves messages received when matching by ticket is completed.
const Diarkis::StdString & DiarkisMatchMakerBase::GetTicketBroadcastMessage | ( | void | ) |
Retrieve received broadcast messages.
bool DiarkisMatchMakerBase::IsTicketComplete | ( | void | ) |
Whether the ticket was completed or not.
bool DiarkisMatchMakerBase::IsTicketCancel | ( | void | ) |
Whether the ticket was canceled or not.
void DiarkisMatchMakerBase::GetMatchingMemberList | ( | Diarkis::StdVector< Diarkis::StdString > & | memberList | ) |
Obtain matched members.
void DiarkisMatchMakerBase::GetTeamMatchingMemberList | ( | Diarkis::StdVector< Diarkis::StdString > & | memberList | ) |
Obtain matched members with team matching.
void DiarkisMatchMakerBase::SetOwnUID | ( | const char * | uid | ) |
Set your user ID.
void DiarkisMatchMakerBase::SetOwnUID | ( | const std::string & | uid | ) |
|
protectedvirtual |
Callback function triggered when matching is initiated as host.
Triggered when a HostMatchmaking response is received.
|
protectedvirtual |
Callback function triggered upon leaving the matching target.
Triggered when a response to AbortMatchmaking is received.
|
protectedvirtual |
Callback function triggered when a match is disbanded.
Triggered when a DisbandMatchmaking push is received.
|
protectedvirtual |
Callback function triggered when a matched member leaves the room.
Triggered when a LeaveMatchmaking push is received.
|
protectedvirtual |
Callback function triggered when another client successfully matches and enters.
Triggered when a Search push is received.
|
protectedvirtual |
Callback function triggered when a message is sent from a matched member.
Triggered when a Sync push is received.
|
protectedvirtual |
Callback function triggered upon joining a matchmaking.
Triggered when responses to Search, ClaimReservedMatchmaking, and JoinMatchmakingFromResult are received.
|
protectedvirtual |
Callback function triggered when leaving a matchmaking.
Triggered when a LeaveMatchmaking response is received.
|
protectedvirtual |
Callback function triggered when a match is completed.
Triggered when NotifyMatchmakingCompletion is pushed or the maximum number of matches is reached.
|
protectedvirtual |
Callback function triggered when a matching search is completed.
Triggered when a Search response or push is received.
|
protectedvirtual |
Callback function called when the search for matching is complete.
Triggered when the matchmaking search by Search with joinFlag set to false is completed.
|
protectedvirtual |
Callback function triggered when starting P2P.
Triggered when a push is received for a P2PAddressSync call.
You can get the address of the matched members from arguments.
|
protectedvirtual |
Callback function triggered when starting P2P.
Triggered when a P2PAddressSync response is received.
|
protectedvirtual |
Callback function triggered when a room is added to the matching search.
Triggered when a Backfill response is received.
|
protectedvirtual |
Callback function triggered when a host kicks a particular member out of matching.
Triggered when a Kick push is received. Triggered for all members.
|
protectedvirtual |
Callback function triggered on the host when the host kicks a particular member out of matching.
Triggered when a Kick response is received.
|
protectedvirtual |
Callback function called when host prompts participation in team matchmaking.
Triggered when a Commit response is received.
|
protectedvirtual |
Callback function called on team members when Commit is executed.
Triggered when a Commit push is received.
|
protectedvirtual |
Callback function triggered when team matching is initiated as host.
Triggered when a TeamHostMatchmaking response is received.
|
protectedvirtual |
Callback function triggered when a team matching search is completed.
Triggered when a TeamSearch response or push is received.
|
protectedvirtual |
Callback function triggered when another client successfully matches and enters.
Triggered when a TeamSearch push is received.
|
protectedvirtual |
Gets the event fired when a response to an IssueTicket is received from the server.
|
protectedvirtual |
Callback function triggered when a ticket processed by IssueTicket is completed.
Triggered when a push for an IssueTicket is received.
|
protectedvirtual |
Callback function triggered when matchmaking host changes.
Triggered when a push is received when the host is changed.
|
protectedvirtual |
Callback function triggered when a TicketCancel is received.
|
protectedvirtual |
Callback function triggered when a TicketCancel response is received.
|
protectedvirtual |
Callback function triggered when a TicketBroadcast response is received.
|
protectedvirtual |
Callback function triggered when a TicketBroadcast is received.
|
protectedvirtual |
Callback function triggered when a TicketLeave response is received.
|
protectedvirtual |
Callback function triggered when a response is received from the server.
|
protectedvirtual |
Callback function triggered when a push is received from the server.
|
protected |
Pointer to IDiarkisMatchMaker class.
|
protected |
Pointer to IDiarkisTcp class.
|
protected |
Pointer to IDiarkisUdp class.
|
protected |
Pointer to IDiarkisRoom class.
|
protected |
Pointer to DiarkisP2PBase class.
|
protected |
Pointer to IDiarkisLogger class.
|
protected |
Lambda function control list.
|
protected |
Buffer for transmission.
|
protected |
My user ID.
|
protected |
Matching owner's user ID.
|
protected |
Message received on TicketBroadcast.
|
protected |
list mutex
|
protected |
User ID list of matched members.
|
protected |
User ID list of team matched members.
|
protected |
Whether matching has been completed.
|
protected |
Whether or not a message wasent to move to the game scene.
|
protected |
Whether ticket matching has been completed.
|
protected |
Message when matching by ticket is completed.
|
protected |
Whether matching by ticket was cancelled.
|
protected |
Whether the owner who issued the TeamMatch Host or Search.