Diarkis C++Client Library API Document
Diarkis::DiarkisMMHostEventArgs Struct Reference

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::StdStringGetRoomID () const
 Get the room ID. More...
 
uint16_t GetErrorCode () const
 Get error code. More...
 
const Diarkis::StdStringGetErrorMessage () 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
 

Detailed Description

Argument of the callback event called when MatchMaker's HostMatchmaking or TeamHostMatchmaking is executed.

Constructor & Destructor Documentation

◆ DiarkisMMHostEventArgs() [1/3]

Diarkis::DiarkisMMHostEventArgs::DiarkisMMHostEventArgs ( bool  success_,
const Diarkis::StdString roomID_,
uint16_t  errorCode,
const Diarkis::StdString errorString 
)

◆ DiarkisMMHostEventArgs() [2/3]

Diarkis::DiarkisMMHostEventArgs::DiarkisMMHostEventArgs ( DiarkisMMHostEventArgs )
delete

◆ DiarkisMMHostEventArgs() [3/3]

Diarkis::DiarkisMMHostEventArgs::DiarkisMMHostEventArgs ( DiarkisMMHostEventArgs &&  )
delete

Member Function Documentation

◆ IsSuccess()

bool Diarkis::DiarkisMMHostEventArgs::IsSuccess ( ) const

Get whether the command was successful or not.

true=success false=failure

Here is the caller graph for this function:

◆ GetRoomID()

const Diarkis::StdString& Diarkis::DiarkisMMHostEventArgs::GetRoomID ( ) const

Get the room ID.

Here is the caller graph for this function:

◆ GetErrorCode()

uint16_t Diarkis::DiarkisMMHostEventArgs::GetErrorCode ( ) const

Get error code.

Return 0 if IsSuccess()=true.

◆ GetErrorMessage()

const Diarkis::StdString& Diarkis::DiarkisMMHostEventArgs::GetErrorMessage ( ) const

Gets the contents of the error.

Here is the caller graph for this function:

The documentation for this struct was generated from the following file: