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

Arguments of the callback event called when MatchMaker response is received. More...

#include <eventArgs.h>

Public Member Functions

bool IsSuccess () const
 Get whether the command was successful or not. More...
 
const StdVector< std::uint8_t > & GetPayload () const
 Get the received payload. More...
 
uint16_t GetErrorCode () const
 Get error code. More...
 
 DiarkisMMResponseEventArgs (bool success_, uint16_t errorCode, const StdVector< std::uint8_t > &payload_)
 
 DiarkisMMResponseEventArgs (DiarkisMMResponseEventArgs &)=delete
 
 DiarkisMMResponseEventArgs (DiarkisMMResponseEventArgs &&)=delete
 

Detailed Description

Arguments of the callback event called when MatchMaker response is received.

Constructor & Destructor Documentation

◆ DiarkisMMResponseEventArgs() [1/3]

Diarkis::DiarkisMMResponseEventArgs::DiarkisMMResponseEventArgs ( bool  success_,
uint16_t  errorCode,
const StdVector< std::uint8_t > &  payload_ 
)

◆ DiarkisMMResponseEventArgs() [2/3]

Diarkis::DiarkisMMResponseEventArgs::DiarkisMMResponseEventArgs ( DiarkisMMResponseEventArgs )
delete

◆ DiarkisMMResponseEventArgs() [3/3]

Diarkis::DiarkisMMResponseEventArgs::DiarkisMMResponseEventArgs ( DiarkisMMResponseEventArgs &&  )
delete

Member Function Documentation

◆ IsSuccess()

bool Diarkis::DiarkisMMResponseEventArgs::IsSuccess ( ) const

Get whether the command was successful or not.

true=success false=failure

Here is the caller graph for this function:

◆ GetPayload()

const StdVector<std::uint8_t>& Diarkis::DiarkisMMResponseEventArgs::GetPayload ( ) const

Get the received payload.

Here is the caller graph for this function:

◆ GetErrorCode()

uint16_t Diarkis::DiarkisMMResponseEventArgs::GetErrorCode ( ) const

Get error code.

Return 0 if IsSuccess()=true.

Here is the caller graph for this function:

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