-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTwitchHandler.cs
More file actions
34 lines (22 loc) · 1.01 KB
/
TwitchHandler.cs
File metadata and controls
34 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Collections.Generic;
namespace ProjectT
{
public abstract class TwitchHandler
{
public virtual void MessageHandler(Viewer viewer, string message, int bits)
{
//do nothing, let others overwrite.
}
public virtual void WhisperMessageHandler(Viewer viewer, string message) { }
public virtual void onConnected() { }
public virtual void onDisconnected() { }
public virtual void onConnectionError() { }
public virtual void onReSubscriber(Viewer viewer, string tier) { }
public virtual void onNewSubscriber(Viewer viewer, string tier) { }
public virtual void onIncorrectLogin() { }
public virtual void onGiftedSubscription(Viewer viewer, string tier) { }
public virtual void onCommunitySubscription(Viewer viewer, string tier) { }
public virtual void onBeingHosted(string Host, int Menge) { }
public virtual void onViewerListUpdate(List<Viewer> ListOfAllViewers) { }
}
}