Twitch SDK (Internal)
Public Types | Public Member Functions | Public Attributes | List of all members
ttv::chat::BitsToken Struct Reference

#include <chattypes.h>

Inheritance diagram for ttv::chat::BitsToken:
ttv::Cloneable< MessageToken, BitsToken > ttv::chat::MessageToken

Public Types

enum  Type {
  Type::Text, Type::Emoticon, Type::Mention, Type::Url,
  Type::Bits
}
 

Public Member Functions

 BitsToken ()
 
 BitsToken (const std::string &prefix, uint32_t numBits)
 
virtual Type GetType () const override
 

Public Attributes

std::string prefix
 The prefix of the bits token (i.e. "cheer") More...
 
uint32_t numBits
 The number of bits for the token. More...
 

Detailed Description

BitsToken - Information about a bits transaction.

Member Enumeration Documentation

◆ Type

enum ttv::chat::MessageToken::Type
stronginherited
Enumerator
Text 
Emoticon 
Mention 
Url 
Bits 

Constructor & Destructor Documentation

◆ BitsToken() [1/2]

ttv::chat::BitsToken::BitsToken ( )

◆ BitsToken() [2/2]

ttv::chat::BitsToken::BitsToken ( const std::string &  prefix,
uint32_t  numBits 
)

Member Function Documentation

◆ GetType()

virtual Type ttv::chat::BitsToken::GetType ( ) const
inlineoverridevirtual

Member Data Documentation

◆ numBits

uint32_t ttv::chat::BitsToken::numBits

The number of bits for the token.

◆ prefix

std::string ttv::chat::BitsToken::prefix

The prefix of the bits token (i.e. "cheer")


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