#include <chattypes.h>
BitsConfiguration - Describes the various bits actions and config info for them
◆ BitsConfiguration() [1/2]
| ttv::chat::BitsConfiguration::BitsConfiguration |
( |
const std::vector< Action > & |
actions, |
|
|
ChannelId |
channelId |
|
) |
| |
◆ BitsConfiguration() [2/2]
| ttv::chat::BitsConfiguration::BitsConfiguration |
( |
| ) |
|
◆ GetActions()
| const std::vector<Action>& ttv::chat::BitsConfiguration::GetActions |
( |
| ) |
const |
◆ GetBitsImageUrl()
| TTV_ErrorCode ttv::chat::BitsConfiguration::GetBitsImageUrl |
( |
const std::string & |
prefix, |
|
|
uint32_t |
numBits, |
|
|
const std::string & |
animation, |
|
|
const std::string & |
background, |
|
|
float |
scale, |
|
|
std::string & |
url, |
|
|
Color & |
color |
|
) |
| const |
Returns the bits image URL and the color given various config arguments Returns: TTV_EC_SUCCESS if found and copies into result. TTV_EC_NOT_AVAILABLE if we can't find a URL that match the given config arguments
◆ GetChannelId()
| ChannelId ttv::chat::BitsConfiguration::GetChannelId |
( |
| ) |
const |
◆ mActions
| std::vector<Action> ttv::chat::BitsConfiguration::mActions |
|
private |
Holds the individual bits actions that can be performed.
◆ mChannelId
| ChannelId ttv::chat::BitsConfiguration::mChannelId |
|
private |
A ChannelId of 0 implies a global bits configuration.
The documentation for this class was generated from the following file:
- modules/chat/chat_common/include/twitchsdk/chat/chattypes.h