C# Class NetIRC.Channel

Datei anzeigen Open project: kevin-brown/NetIRC Class Usage Examples

Public Properties

Property Type Description
BanList List
ExceptList List
InviteList List
Topic ChannelTopic
Type ChannelType

Public Methods

Method Description
Channel ( string name ) : System.Collections.Generic
Channel ( string name, ChannelType type ) : System.Collections.Generic
GetTopic ( ) : Topic
Invite ( User user ) : Invite
Join ( ) : Join
Kick ( User user ) : Kick
Kick ( User user, string message ) : Kick
Part ( ) : Part
Part ( string message ) : Part
SendMessage ( string message ) : ChannelPrivate
SendNotice ( string message ) : ChannelNotice
SetTopic ( string topic ) : Topic

Private Methods

Method Description
AddUser ( User user ) : void
ClearUsers ( ) : void
JoinUser ( User user ) : void
LeaveUser ( User user, string reason ) : void
RemoveUser ( User user ) : void
SendWho ( ) : Messages.ISendMessage
SetRank ( User user, UserRank rank ) : void
TriggerOnAction ( User user, string action ) : void
TriggerOnCannotSendToChannel ( Channel source, string reason ) : void
TriggerOnChannelOperatorNeeded ( Channel source, string reason ) : void
TriggerOnJoin ( User user ) : void
TriggerOnKick ( User kicker, User user, string reason ) : void
TriggerOnLeave ( User user, string reason ) : void
TriggerOnMessage ( User user, string message ) : void
TriggerOnMode ( User setter, string>.List changes ) : void
TriggerOnNames ( string users ) : void
TriggerOnNotice ( User user, string notice ) : void
TriggerOnRank ( Channel source, User user, UserRank rank ) : void
TriggerOnSendAction ( string action ) : void
TriggerOnSendMessage ( string message ) : void
TriggerOnSendNotice ( string notice ) : void
TriggerOnTopic ( ChannelTopic topic ) : void
TriggerOnTopicChange ( ChannelTopic topic ) : void
TriggerOnUserAdded ( User user ) : void
TriggerOnWho ( User user, string message ) : void

Method Details

Channel() public method

public Channel ( string name ) : System.Collections.Generic
name string
return System.Collections.Generic

Channel() public method

public Channel ( string name, ChannelType type ) : System.Collections.Generic
name string
type ChannelType
return System.Collections.Generic

GetTopic() public method

public GetTopic ( ) : Topic
return NetIRC.Messages.Send.Topic

Invite() public method

public Invite ( User user ) : Invite
user User
return NetIRC.Messages.Send.Invite

Join() public method

public Join ( ) : Join
return NetIRC.Messages.Send.Join

Kick() public method

public Kick ( User user ) : Kick
user User
return NetIRC.Messages.Send.Kick

Kick() public method

public Kick ( User user, string message ) : Kick
user User
message string
return NetIRC.Messages.Send.Kick

Part() public method

public Part ( ) : Part
return NetIRC.Messages.Send.Part

Part() public method

public Part ( string message ) : Part
message string
return NetIRC.Messages.Send.Part

SendMessage() public method

public SendMessage ( string message ) : ChannelPrivate
message string
return NetIRC.Messages.Send.ChannelPrivate

SendNotice() public method

public SendNotice ( string message ) : ChannelNotice
message string
return NetIRC.Messages.Send.ChannelNotice

SetTopic() public method

public SetTopic ( string topic ) : Topic
topic string
return NetIRC.Messages.Send.Topic

Property Details

BanList public_oe property

A list of masks that cannot be allowed in the channel.
public List BanList
return List

ExceptList public_oe property

A list of masks that are allowed in the channel, even if they match the masks in the BanList.
public List ExceptList
return List

InviteList public_oe property

A list of masks that are allowed in the channel, even if the channel is invite-only.
public List InviteList
return List

Topic public_oe property

public ChannelTopic,NetIRC Topic
return ChannelTopic

Type public_oe property

public ChannelType Type
return ChannelType