C# 클래스 TwitchLib.ChatParsing

Static parsing class handling all chat message parsing
파일 보기 프로젝트 열기: swiftyspiffy/TwitchLib 1 사용 예제들

공개 메소드들

메소드 설명
detectCommandReceived ( string botUsername, string message, List channels, MessageEmoteCollection _channelEmotes, bool WillReplaceEmotes, List _commandIdentifiers ) : DetectionReturn

[Works] Parse function to detect new commands.

detectConnected ( string message ) : bool

[Works] Parse function to detect connected successfully

detectMessageReceived ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect new messages.

detectNewSubscriber ( string message, List channels ) : DetectionReturn

Parse function to detect new subscriber

detectUserJoined ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect new viewers.

detectedChannelStateChanged ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect new channel state.

detectedChatColorChanged ( string message, List channels ) : DetectionReturn

Parse function to detect chat color being changed successfully

detectedClearedChat ( string message, List channels ) : DetectionReturn

Parse function to detect clearchat.

detectedExistingUsers ( string message, string username, List channels ) : DetectionReturn

[Works] Parse function to detect existing user messages.

detectedHostLeft ( string message, List channels ) : DetectionReturn

Parse function to detect host leaving.

detectedHostingStarted ( string message ) : bool

[Works] Parse function to detect started hosting.

detectedHostingStopped ( string message ) : bool

Parse function to detect stopped hosting.

detectedIncorrectLogin ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect failed login.

detectedMalformedOAuth ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect malformed oauth error.

detectedModeatorLeft ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect leaving moderators.

detectedModeratorJoined ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect new moderators.

detectedModeratorsReceived ( string message, List channels ) : DetectionReturn

Parse function to detect list of moderators was received.

detectedPing ( string message ) : DetectionReturn

[Works] Parse function to detect PING messages.

detectedPong ( string message ) : DetectionReturn

[Works] Parse function to detect PONG messages.

detectedReSubscriber ( string message, List channels ) : DetectionReturn

Parse function to detect resubscriptions.

detectedUserBanned ( string message, List channels ) : DetectionReturn

Parse function to detect viewer was banned.

detectedUserLeft ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect leaving viewers.

detectedUserStateChanged ( string message, List channels ) : DetectionReturn

[Works] Parse function to detect new user states.

detectedUserTimedout ( string message, List channels ) : DetectionReturn

Parse function to detect a viewer was timedout.

getReadType ( string message, string channel ) : string

Function returning the type of message received from Twitch

메소드 상세

detectCommandReceived() 공개 정적인 메소드

[Works] Parse function to detect new commands.
public static detectCommandReceived ( string botUsername, string message, List channels, MessageEmoteCollection _channelEmotes, bool WillReplaceEmotes, List _commandIdentifiers ) : DetectionReturn
botUsername string
message string
channels List
_channelEmotes MessageEmoteCollection
WillReplaceEmotes bool
_commandIdentifiers List
리턴 TwitchLib.Models.Client.DetectionReturn

detectConnected() 공개 정적인 메소드

[Works] Parse function to detect connected successfully
public static detectConnected ( string message ) : bool
message string
리턴 bool

detectMessageReceived() 공개 정적인 메소드

[Works] Parse function to detect new messages.
public static detectMessageReceived ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectNewSubscriber() 공개 정적인 메소드

Parse function to detect new subscriber
public static detectNewSubscriber ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectUserJoined() 공개 정적인 메소드

[Works] Parse function to detect new viewers.
public static detectUserJoined ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedChannelStateChanged() 공개 정적인 메소드

[Works] Parse function to detect new channel state.
public static detectedChannelStateChanged ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedChatColorChanged() 공개 정적인 메소드

Parse function to detect chat color being changed successfully
public static detectedChatColorChanged ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedClearedChat() 공개 정적인 메소드

Parse function to detect clearchat.
public static detectedClearedChat ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedExistingUsers() 공개 정적인 메소드

[Works] Parse function to detect existing user messages.
public static detectedExistingUsers ( string message, string username, List channels ) : DetectionReturn
message string
username string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedHostLeft() 공개 정적인 메소드

Parse function to detect host leaving.
public static detectedHostLeft ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedHostingStarted() 공개 정적인 메소드

[Works] Parse function to detect started hosting.
public static detectedHostingStarted ( string message ) : bool
message string
리턴 bool

detectedHostingStopped() 공개 정적인 메소드

Parse function to detect stopped hosting.
public static detectedHostingStopped ( string message ) : bool
message string
리턴 bool

detectedIncorrectLogin() 공개 정적인 메소드

[Works] Parse function to detect failed login.
public static detectedIncorrectLogin ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedMalformedOAuth() 공개 정적인 메소드

[Works] Parse function to detect malformed oauth error.
public static detectedMalformedOAuth ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedModeatorLeft() 공개 정적인 메소드

[Works] Parse function to detect leaving moderators.
public static detectedModeatorLeft ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedModeratorJoined() 공개 정적인 메소드

[Works] Parse function to detect new moderators.
public static detectedModeratorJoined ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedModeratorsReceived() 공개 정적인 메소드

Parse function to detect list of moderators was received.
public static detectedModeratorsReceived ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedPing() 공개 정적인 메소드

[Works] Parse function to detect PING messages.
public static detectedPing ( string message ) : DetectionReturn
message string
리턴 TwitchLib.Models.Client.DetectionReturn

detectedPong() 공개 정적인 메소드

[Works] Parse function to detect PONG messages.
public static detectedPong ( string message ) : DetectionReturn
message string
리턴 TwitchLib.Models.Client.DetectionReturn

detectedReSubscriber() 공개 정적인 메소드

Parse function to detect resubscriptions.
public static detectedReSubscriber ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedUserBanned() 공개 정적인 메소드

Parse function to detect viewer was banned.
public static detectedUserBanned ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedUserLeft() 공개 정적인 메소드

[Works] Parse function to detect leaving viewers.
public static detectedUserLeft ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedUserStateChanged() 공개 정적인 메소드

[Works] Parse function to detect new user states.
public static detectedUserStateChanged ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

detectedUserTimedout() 공개 정적인 메소드

Parse function to detect a viewer was timedout.
public static detectedUserTimedout ( string message, List channels ) : DetectionReturn
message string
channels List
리턴 TwitchLib.Models.Client.DetectionReturn

getReadType() 공개 정적인 메소드

Function returning the type of message received from Twitch
public static getReadType ( string message, string channel ) : string
message string
channel string
리턴 string