Arguments of callback events called when received the result of Diarkis::Modules::IDiarkisRoom::GetChatLog()
More...
#include <eventArgs.h>
Arguments of callback events called when received the result of Diarkis::Modules::IDiarkisRoom::GetChatLog()
◆ DiarkisRoomChatLogEventArgs() [1/3]
Diarkis::DiarkisRoomChatLogEventArgs::DiarkisRoomChatLogEventArgs |
( |
bool |
isSuccess_, |
|
|
const StdVector< std::shared_ptr< RoomChatData >> & |
chatLists_, |
|
|
const StdVector< uint8_t > & |
payload_, |
|
|
uint16_t |
errorCode, |
|
|
const Diarkis::StdString & |
errorString |
|
) |
| |
◆ DiarkisRoomChatLogEventArgs() [2/3]
◆ DiarkisRoomChatLogEventArgs() [3/3]
◆ IsSuccess()
bool Diarkis::DiarkisRoomChatLogEventArgs::IsSuccess |
( |
| ) |
const |
Get whether the command was successful or not.
true=success false=failure
◆ GetChatLists()
const StdVector<std::shared_ptr<RoomChatData> >& Diarkis::DiarkisRoomChatLogEventArgs::GetChatLists |
( |
| ) |
const |
Get history of chat messages.
◆ GetPayload()
const StdVector<uint8_t>& Diarkis::DiarkisRoomChatLogEventArgs::GetPayload |
( |
| ) |
const |
Get the received payload.
◆ GetErrorCode()
uint16_t Diarkis::DiarkisRoomChatLogEventArgs::GetErrorCode |
( |
| ) |
const |
◆ GetErrorMessage()
Gets the contents of the error.
The documentation for this struct was generated from the following file:
- client/cpp/libDiarkis/include/diarkis/network/eventArgs.h