![]() |
Diarkis C++Client Library API Document
|
Arguments of the callback event called when joining or leaving a Field. More...
#include <eventArgs.h>
Public Member Functions | |
bool | IsSuccess () const |
Get whether the command was successful or not. More... | |
uint16_t | GetErrorCode () const |
Get error code. More... | |
const Diarkis::StdString & | GetErrorMessage () const |
Gets the contents of the error. More... | |
DiarkisSuccessEventArgs (bool isSuccess_, uint16_t errorCode, const Diarkis::StdString &errorString) | |
DiarkisSuccessEventArgs (DiarkisSuccessEventArgs &)=delete | |
DiarkisSuccessEventArgs (DiarkisSuccessEventArgs &&)=delete | |
Arguments of the callback event called when joining or leaving a Field.
Diarkis::DiarkisSuccessEventArgs::DiarkisSuccessEventArgs | ( | bool | isSuccess_, |
uint16_t | errorCode, | ||
const Diarkis::StdString & | errorString | ||
) |
|
delete |
|
delete |
bool Diarkis::DiarkisSuccessEventArgs::IsSuccess | ( | ) | const |
Get whether the command was successful or not.
true=success false=failure
uint16_t Diarkis::DiarkisSuccessEventArgs::GetErrorCode | ( | ) | const |
const Diarkis::StdString& Diarkis::DiarkisSuccessEventArgs::GetErrorMessage | ( | ) | const |
Gets the contents of the error.