![]() |
Diarkis C++Client Library API Document
|
Argument of the callback event called when MatchMaker's HostMatchmaking or TeamHostMatchmaking is executed. More...
#include <eventArgs.h>
Public Member Functions | |
| bool | IsSuccess () const |
| Get whether the command was successful or not. More... | |
| const Diarkis::StdString & | GetRoomID () const |
| Get the room ID. More... | |
| uint16_t | GetErrorCode () const |
| Get error code. More... | |
| const Diarkis::StdString & | GetErrorMessage () const |
| Gets the contents of the error. More... | |
| DiarkisMMHostEventArgs (bool success_, const Diarkis::StdString &roomID_, uint16_t errorCode, const Diarkis::StdString &errorString) | |
| DiarkisMMHostEventArgs (DiarkisMMHostEventArgs &)=delete | |
| DiarkisMMHostEventArgs (DiarkisMMHostEventArgs &&)=delete | |
Argument of the callback event called when MatchMaker's HostMatchmaking or TeamHostMatchmaking is executed.
| Diarkis::DiarkisMMHostEventArgs::DiarkisMMHostEventArgs | ( | bool | success_, |
| const Diarkis::StdString & | roomID_, | ||
| uint16_t | errorCode, | ||
| const Diarkis::StdString & | errorString | ||
| ) |
|
delete |
|
delete |
| bool Diarkis::DiarkisMMHostEventArgs::IsSuccess | ( | ) | const |
Get whether the command was successful or not.
true=success false=failure

| const Diarkis::StdString& Diarkis::DiarkisMMHostEventArgs::GetRoomID | ( | ) | const |
Get the room ID.

| uint16_t Diarkis::DiarkisMMHostEventArgs::GetErrorCode | ( | ) | const |
Get error code.
Return 0 if IsSuccess()=true.
| const Diarkis::StdString& Diarkis::DiarkisMMHostEventArgs::GetErrorMessage | ( | ) | const |
Gets the contents of the error.
