Twitch SDK (Internal)
Classes | Namespaces | Macros | Typedefs | Enumerations
coretypes.h File Reference
#include <stdint.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  ttv::UserInfo
 
struct  ttv::ChannelInfo
 
struct  ttv::PreviewImages
 
struct  ttv::StreamInfo
 
struct  ttv::WatchPartyUpdate
 
struct  ttv::ProfileImage
 
class  ttv::TrackingValue
 
union  ttv::TrackingValue::Value
 

Namespaces

 ttv
 JSON (JavaScript Object Notation).
 

Macros

#define UNUSED(x)   (void)x;
 

Typedefs

typedef unsigned int uint
 
using ttv::UserId = uint32_t
 
using ttv::ChannelId = uint32_t
 
using ttv::GameId = uint32_t
 
using ttv::Timestamp = uint32_t
 
using ttv::Color = uint32_t
 
using ttv::BroadcastId = uint32_t
 

Enumerations

enum  ttv::BroadcasterType { ttv::BroadcasterType::Partner, ttv::BroadcasterType::Affiliate, ttv::BroadcasterType::None, ttv::BroadcasterType::Unknown }
 
enum  ttv::BroadcastPlatform {
  ttv::BroadcastPlatform::WatchParty, ttv::BroadcastPlatform::Premiere, ttv::BroadcastPlatform::Rerun, ttv::BroadcastPlatform::Playlist,
  ttv::BroadcastPlatform::Mobile, ttv::BroadcastPlatform::Xbox, ttv::BroadcastPlatform::PS4, ttv::BroadcastPlatform::Live,
  ttv::BroadcastPlatform::Unknown
}
 
enum  ttv::StreamType {
  ttv::StreamType::WatchParty, ttv::StreamType::Premiere, ttv::StreamType::Rerun, ttv::StreamType::Playlist,
  ttv::StreamType::Live, ttv::StreamType::Unknown
}
 
enum  ttv::PubSubState { ttv::PubSubState::Disconnected, ttv::PubSubState::Connecting, ttv::PubSubState::Connected, ttv::PubSubState::Disconnecting }
 
enum  ttv::VodStatus { ttv::VodStatus::Recording, ttv::VodStatus::Recorded, ttv::VodStatus::Unknown }
 
enum  ttv::VodType { ttv::VodType::Highlight, ttv::VodType::Archive, ttv::VodType::Upload, ttv::VodType::Unknown }
 

Class Documentation

◆ ttv::PreviewImages

struct ttv::PreviewImages

PreviewImages - URLs for preview images (of different sizes).

Class Members
string largeUrl
string mediumUrl
string smallUrl
string templateUrl

◆ ttv::ProfileImage

struct ttv::ProfileImage

ProfileImage - Info about a new profile image.

Class Members
string format The filetype/format of the profile image.
uint32_t height Height of the profile image.
string url The URL of the profile image.
uint32_t width Width of the profile image.

Macro Definition Documentation

◆ UNUSED

#define UNUSED (   x)    (void)x;

Typedef Documentation

◆ uint

typedef unsigned int uint