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.
20 lines
637 B
C#
20 lines
637 B
C#
namespace Sandbox;
|
|
|
|
public static partial class Streamer
|
|
{
|
|
public struct User
|
|
{
|
|
public string Id { get; internal set; }
|
|
public string Login { get; internal set; }
|
|
public string DisplayName { get; internal set; }
|
|
public string UserType { get; internal set; }
|
|
public string BroadcasterType { get; internal set; }
|
|
public string Description { get; internal set; }
|
|
public string ProfileImageUrl { get; internal set; }
|
|
public string OfflineImageUrl { get; internal set; }
|
|
public int ViewCount { get; internal set; }
|
|
public string Email { get; internal set; }
|
|
public DateTimeOffset CreatedAt { get; internal set; }
|
|
}
|
|
}
|