public static abstract sealed class Sandbox.Streamer
Methods
Showing 5 methods
public static void BanUser(string username, string reason, int duration = 0)
Ban user from your chat by username, the user will no longer be able to chat. Optionally specify the duration, a duration of zero means perm ban (Note: You have to be in your chat for this to work)
Parameters
duration: Default: 0
public static void ClearChat()
Clear your own chat
public static System.Threading.Tasks.Task`1<Sandbox.StreamUser> GetUser(string username = null)
Get user information. If no username is specified, the user returned is ourself
Parameters
username: Default: null
public static void SendMessage(string message)
Send a message to chat, optionally specify channel you want to send the message, otherwise it is sent to your own chat
public static void UnbanUser(string username)
Unban user from your chat by username (Note: You have to be in your chat for this to work)
No results match this filter.
Properties
Showing 9 properties
public static int Sandbox.Streamer.Delay { get; set; }
Set the delay of your stream
public static bool Sandbox.Streamer.IsActive { get; set; }
Are we connected to a service
public static Sandbox.StreamService Sandbox.Streamer.Service { get; set; }
The service type (ie "Twitch")
public static string Sandbox.Streamer.UserId { get; set; }
Your own user id
public static string Sandbox.Streamer.Username { get; set; }
Your own username
public static int Sandbox.Streamer.ViewerCount { get; set; }
Amount of concurrent viewer your stream has.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Streamer |