mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-01 08:18:20 -04:00
Engine: reworks Twitch IRC parsing/client + Streamer event surface (viewers roster, chat/sub/gift/raid messages) and removes older/broken Twitch API features. Menu/Editor: adds service linking/stream-connect UI (new Services modal; pause/game modal + editor title button) gated by a project setting. Services/utilities: introduces helper APIs for linking/listing services; adds unit tests for the IRC parser and subscription tier parsing.
17 lines
285 B
C#
17 lines
285 B
C#
namespace Sandbox;
|
|
|
|
internal interface IStreamService
|
|
{
|
|
StreamService ServiceType { get; }
|
|
|
|
Task<bool> Connect();
|
|
void Disconnect();
|
|
|
|
void SetChannelLanguage( string language );
|
|
void SetChannelDelay( int delay );
|
|
|
|
Task<Streamer.User> GetUser( string username );
|
|
|
|
void Tick();
|
|
}
|