|
Twitch SDK (Internal)
|
#include <chatnetworkevent.h>
Public Member Functions | |
| ChatNetworkEvent () | |
| ChatNetworkEvent (int idEvent, int nParams,...) | |
| ~ChatNetworkEvent () | |
| void | SetEvent (const std::string &evt) |
| const std::string & | GetEvent () const |
| void | SetEventID (int idEvent) |
| int | GetEventID () const |
| void | AddParam (const std::string &sParam) |
| const std::string & | GetParam (unsigned int iParam) const |
| size_t | GetParamCount () const |
| void | SetPrefix (const std::string &prefix) |
| const std::string & | GetPrefix () const |
| void | SetMessageTags (const std::string &raw) |
| const std::map< std::string, std::string > & | GetMessageTags () const |
| bool | IsIncoming () const |
| void | SetIncoming (bool bIncoming) |
| void | SetAutoPrefix (bool bAutoPrefix) |
| bool | GetAutoPrefix () const |
Static Public Member Functions | |
| static std::string | EventIDToString (int idEvent) |
| static int | EventStringToID (const std::string &evt) |
| static int | CTCPEventStringToID (const std::string &evt, bool bReply=false) |
| static bool | IsReplyEvent (int idEvent) |
| static bool | IsCommandEvent (int idEvent) |
| static bool | IsCTCPEvent (int idEvent) |
| static bool | IsCTCPReplyEvent (int idEvent) |
| static bool | IsSystemEvent (int idEvent) |
Protected Member Functions | |
| void | Clear () |
Protected Attributes | |
| uint32_t | mEventId |
| std::string | mEventName |
| std::string | mPrefix |
| std::map< std::string, std::string > | mMessageTags |
| std::vector< std::string > | mParams |
| bool | mIncoming |
| bool | mAutoPrefix |
Wraps an event in the chat system. Events include sending/receiving messages, pings, etc.
| ttv::chat::ChatNetworkEvent::ChatNetworkEvent | ( | ) |
| ttv::chat::ChatNetworkEvent::ChatNetworkEvent | ( | int | idEvent, |
| int | nParams, | ||
| ... | |||
| ) |
| ttv::chat::ChatNetworkEvent::~ChatNetworkEvent | ( | ) |
| void ttv::chat::ChatNetworkEvent::AddParam | ( | const std::string & | sParam | ) |
|
protected |
|
static |
|
static |
|
static |
| bool ttv::chat::ChatNetworkEvent::GetAutoPrefix | ( | ) | const |
| const std::string& ttv::chat::ChatNetworkEvent::GetEvent | ( | ) | const |
| int ttv::chat::ChatNetworkEvent::GetEventID | ( | ) | const |
| const std::map<std::string, std::string>& ttv::chat::ChatNetworkEvent::GetMessageTags | ( | ) | const |
| const std::string& ttv::chat::ChatNetworkEvent::GetParam | ( | unsigned int | iParam | ) | const |
| size_t ttv::chat::ChatNetworkEvent::GetParamCount | ( | ) | const |
| const std::string& ttv::chat::ChatNetworkEvent::GetPrefix | ( | ) | const |
|
static |
|
static |
|
static |
| bool ttv::chat::ChatNetworkEvent::IsIncoming | ( | ) | const |
|
static |
|
static |
| void ttv::chat::ChatNetworkEvent::SetAutoPrefix | ( | bool | bAutoPrefix | ) |
| void ttv::chat::ChatNetworkEvent::SetEvent | ( | const std::string & | evt | ) |
| void ttv::chat::ChatNetworkEvent::SetEventID | ( | int | idEvent | ) |
| void ttv::chat::ChatNetworkEvent::SetIncoming | ( | bool | bIncoming | ) |
| void ttv::chat::ChatNetworkEvent::SetMessageTags | ( | const std::string & | raw | ) |
| void ttv::chat::ChatNetworkEvent::SetPrefix | ( | const std::string & | prefix | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13