C# Class MBUtilities.Channel.ChannelList

Afficher le fichier Open project: MatthewCox/MoronBot Class Usage Examples

Méthodes publiques

Méthode Description
ChannelHasMode ( string channel, char mode ) : bool
EvadeChannelLinkBlock ( BotMessage message, string link ) : string
GetChannelID ( string channelName ) : int
GetUserID ( string nick, string channel, int &channelID ) : int
GetUserModes ( string nick, string channel ) : string
Parse324 ( BotMessage message ) : void

Channel modes

Parse332 ( BotMessage message ) : void

Channel topic

Parse352 ( BotMessage message ) : void

WHO reply

Parse353 ( BotMessage message ) : void

NAMES reply

ParseJOIN ( BotMessage message ) : void
ParseMODE ( BotMessage message ) : void
ParseNICK ( BotMessage message ) : List
ParsePART ( BotMessage message, bool parterIsMe ) : void
ParseQUIT ( BotMessage message ) : List
ParseTOPIC ( BotMessage message ) : void
UserIsAnyOp ( string nick, string channel ) : bool
UserIsFounder ( string nick, string channel ) : bool
UserIsHop ( string nick, string channel ) : bool
UserIsOp ( string nick, string channel ) : bool
UserIsSop ( string nick, string channel ) : bool
UserIsVoiced ( string nick, string channel ) : bool

Private Methods

Méthode Description
ChannelList ( ) : System.Collections.Generic
EvadeLinkBlock ( string url ) : string
GetChannelModes ( string channel ) : List
GetUserID ( string nick, int channelID ) : int
ParseChannelModeString ( string modeString, int channelID ) : void

Method Details

ChannelHasMode() public static méthode

public static ChannelHasMode ( string channel, char mode ) : bool
channel string
mode char
Résultat bool

EvadeChannelLinkBlock() public static méthode

public static EvadeChannelLinkBlock ( BotMessage message, string link ) : string
message MBFunctionInterface.BotMessage
link string
Résultat string

GetChannelID() public static méthode

public static GetChannelID ( string channelName ) : int
channelName string
Résultat int

GetUserID() public static méthode

public static GetUserID ( string nick, string channel, int &channelID ) : int
nick string
channel string
channelID int
Résultat int

GetUserModes() public static méthode

public static GetUserModes ( string nick, string channel ) : string
nick string
channel string
Résultat string

Parse324() public static méthode

Channel modes
public static Parse324 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
Résultat void

Parse332() public static méthode

Channel topic
public static Parse332 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
Résultat void

Parse352() public static méthode

WHO reply
public static Parse352 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
Résultat void

Parse353() public static méthode

NAMES reply
public static Parse353 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
Résultat void

ParseJOIN() public static méthode

public static ParseJOIN ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
Résultat void

ParseMODE() public static méthode

public static ParseMODE ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
Résultat void

ParseNICK() public static méthode

public static ParseNICK ( BotMessage message ) : List
message MBFunctionInterface.BotMessage
Résultat List

ParsePART() public static méthode

public static ParsePART ( BotMessage message, bool parterIsMe ) : void
message MBFunctionInterface.BotMessage
parterIsMe bool
Résultat void

ParseQUIT() public static méthode

public static ParseQUIT ( BotMessage message ) : List
message MBFunctionInterface.BotMessage
Résultat List

ParseTOPIC() public static méthode

public static ParseTOPIC ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
Résultat void

UserIsAnyOp() public static méthode

public static UserIsAnyOp ( string nick, string channel ) : bool
nick string
channel string
Résultat bool

UserIsFounder() public static méthode

public static UserIsFounder ( string nick, string channel ) : bool
nick string
channel string
Résultat bool

UserIsHop() public static méthode

public static UserIsHop ( string nick, string channel ) : bool
nick string
channel string
Résultat bool

UserIsOp() public static méthode

public static UserIsOp ( string nick, string channel ) : bool
nick string
channel string
Résultat bool

UserIsSop() public static méthode

public static UserIsSop ( string nick, string channel ) : bool
nick string
channel string
Résultat bool

UserIsVoiced() public static méthode

public static UserIsVoiced ( string nick, string channel ) : bool
nick string
channel string
Résultat bool