C# Class MBUtilities.Channel.ChannelList

Show file Open project: MatthewCox/MoronBot Class Usage Examples

Public Methods

Method 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

Method 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 method

public static ChannelHasMode ( string channel, char mode ) : bool
channel string
mode char
return bool

EvadeChannelLinkBlock() public static method

public static EvadeChannelLinkBlock ( BotMessage message, string link ) : string
message MBFunctionInterface.BotMessage
link string
return string

GetChannelID() public static method

public static GetChannelID ( string channelName ) : int
channelName string
return int

GetUserID() public static method

public static GetUserID ( string nick, string channel, int &channelID ) : int
nick string
channel string
channelID int
return int

GetUserModes() public static method

public static GetUserModes ( string nick, string channel ) : string
nick string
channel string
return string

Parse324() public static method

Channel modes
public static Parse324 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
return void

Parse332() public static method

Channel topic
public static Parse332 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
return void

Parse352() public static method

WHO reply
public static Parse352 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
return void

Parse353() public static method

NAMES reply
public static Parse353 ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
return void

ParseJOIN() public static method

public static ParseJOIN ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
return void

ParseMODE() public static method

public static ParseMODE ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
return void

ParseNICK() public static method

public static ParseNICK ( BotMessage message ) : List
message MBFunctionInterface.BotMessage
return List

ParsePART() public static method

public static ParsePART ( BotMessage message, bool parterIsMe ) : void
message MBFunctionInterface.BotMessage
parterIsMe bool
return void

ParseQUIT() public static method

public static ParseQUIT ( BotMessage message ) : List
message MBFunctionInterface.BotMessage
return List

ParseTOPIC() public static method

public static ParseTOPIC ( BotMessage message ) : void
message MBFunctionInterface.BotMessage
return void

UserIsAnyOp() public static method

public static UserIsAnyOp ( string nick, string channel ) : bool
nick string
channel string
return bool

UserIsFounder() public static method

public static UserIsFounder ( string nick, string channel ) : bool
nick string
channel string
return bool

UserIsHop() public static method

public static UserIsHop ( string nick, string channel ) : bool
nick string
channel string
return bool

UserIsOp() public static method

public static UserIsOp ( string nick, string channel ) : bool
nick string
channel string
return bool

UserIsSop() public static method

public static UserIsSop ( string nick, string channel ) : bool
nick string
channel string
return bool

UserIsVoiced() public static method

public static UserIsVoiced ( string nick, string channel ) : bool
nick string
channel string
return bool