A basic twitch chat viewer for windows written in C++20. It streams chat from the twitch IRC server using sockets, and uses SDL2 and SDL2_ttf to render.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
252 B

#pragma once
enum class ircommand {
UNKNOWN,
PRIVMSG,
JOIN,
QUIT,
PING,
PONG
};
struct msg {
std::string user;
std::string channel;
std::string message;
std::string complete_message;
enum class ircommand cmd;
unsigned int received_at;
};