![]() |
Diarkis C++Client Library API Document
|
Argument of the callback event called when MatchMaker's Search or TeamSearch is executed. More...
#include <eventArgs.h>
Public Member Functions | |
| bool | IsSuccess () const |
| Get whether the command was successful or not. More... | |
| const StdVector< std::shared_ptr< MatchMakerResultItem > > & | GetResultItem () const |
| Get matchmaking search results. More... | |
| const StdVector< uint8_t > & | GetPayload () const |
| Get the received payload. More... | |
| uint16_t | GetErrorCode () const |
| Get error code. More... | |
| DiarkisMMResultEventArgs (bool success_, const StdVector< std::shared_ptr< MatchMakerResultItem >> &results_, uint16_t errorCode, const StdVector< std::uint8_t > &payload_) | |
| DiarkisMMResultEventArgs (DiarkisMMResultEventArgs &)=delete | |
| DiarkisMMResultEventArgs (DiarkisMMResultEventArgs &&)=delete | |
Argument of the callback event called when MatchMaker's Search or TeamSearch is executed.
| Diarkis::DiarkisMMResultEventArgs::DiarkisMMResultEventArgs | ( | bool | success_, |
| const StdVector< std::shared_ptr< MatchMakerResultItem >> & | results_, | ||
| uint16_t | errorCode, | ||
| const StdVector< std::uint8_t > & | payload_ | ||
| ) |
|
delete |
|
delete |
| bool Diarkis::DiarkisMMResultEventArgs::IsSuccess | ( | ) | const |
Get whether the command was successful or not.
true=success false=failure

| const StdVector<std::shared_ptr<MatchMakerResultItem> >& Diarkis::DiarkisMMResultEventArgs::GetResultItem | ( | ) | const |
Get matchmaking search results.

| const StdVector<uint8_t>& Diarkis::DiarkisMMResultEventArgs::GetPayload | ( | ) | const |
Get the received payload.
| uint16_t Diarkis::DiarkisMMResultEventArgs::GetErrorCode | ( | ) | const |
Get error code.
Return 0 if IsSuccess()=true.