C# 클래스 Squishy.Irc.IrcChannel

상속: IComparable, ChatTarget
파일 보기 프로젝트 열기: jaddie/WCell-Utility-Bot 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BanMasks BanEntry>.IDictionary
Privileges UserPrivSet>.IDictionary
UnbanTimers UnbanTimer>.IDictionary
Users IrcUser>.IDictionary

공개 메소드들

메소드 설명
CompareTo ( object channel ) : int
GetEnumerator ( ) : IEnumerator
GetHighestPriv ( IrcUser user ) : Privilege
GetModes ( ) : string

Returns the modes that are set on this channel.

GetPrivs ( IrcUser user ) : UserPrivSet
GetUser ( string nick ) : IrcUser

Returns the User with the specified nick who is in this Channel or null if there is no such User.

HasMode ( string modes ) : bool

Returns wether or not this channel has the specified flags, independent on their sequence.

HasOp ( IrcUser user ) : bool
HasOp ( string nick ) : bool
HasPriv ( IrcUser user, Privilege priv ) : bool
HasUser ( string nick ) : bool

Returns wether or not a User with the specified nick is on this Channel.

HasVoice ( IrcUser user ) : bool
HasVoice ( string nick ) : bool
IrcChannel ( IrcClient irc, string name ) : System
Is ( string name ) : bool

Compares this channel'str name with the specified string case-insensitively.

IsBanned ( string Banmask ) : bool

Indicates wether or not the specified banmask has been set on this Channel.

IsUser ( IrcUser user, Privilege priv ) : bool
IsUser ( string nick, Privilege priv ) : bool
IsUserAtLeast ( IrcUser user, Privilege priv ) : bool
IsUserAtLeast ( string nick, Privilege priv ) : bool
Msg ( object format ) : void
Notice ( string line ) : void
ToString ( ) : string
this ( string nick ) : IrcUser

Returns a User within this channel with the corresponding nick.

보호된 메소드들

메소드 설명
OnNotice ( IrcUser user, IrcChannel channel, StringStream text ) : void

Fires when the Client receives any kind of NOTICE.

비공개 메소드들

메소드 설명
AddFlag ( Privilege priv, IrcUser user ) : void
AddMode ( string mode, string args ) : void
AddNames ( string nickString ) : Squishy.Irc.IrcUser[]
AddUnbanTimer ( UnbanTimer timer ) : void
AddUser ( IrcUser user ) : void
AddUser ( IrcUser user, string flags ) : void
BanListCompleteNotify ( ) : void
BanListEntrySentNotify ( BanEntry entry ) : void
ChanCreationTimeSentNotify ( System.DateTime creationTime ) : void
ClearModes ( ) : void
DeleteFlag ( Privilege priv, IrcUser user ) : void
DeleteMode ( string mode ) : void
DeleteUser ( IrcUser user ) : void
ElapsUnbanTimer ( UnbanTimer timer ) : void
FlagAddedNotify ( IrcUser user, Privilege priv, IrcUser target ) : void
FlagDeletedNotify ( IrcUser user, Privilege priv, IrcUser target ) : void
ModeAddedNotify ( IrcUser user, string mode, string param ) : void
ModeDeletedNotify ( IrcUser user, string mode, string param ) : void
MsgReceivedNotify ( IrcUser user, StringStream text ) : void
NoticeNotify ( IrcUser user, IrcChannel channel, StringStream text ) : void
NoticeReceivedNotify ( IrcUser user, StringStream text ) : void
OnNickChange ( IrcUser user, string oldNick ) : void
SetCreationTime ( System.DateTime when ) : void
SetTopic ( string text ) : void
TextNotify ( IrcUser user, StringStream text ) : void
TopicChangedNotify ( IrcUser user, string text, bool initial ) : void
UserJoinedNotify ( IrcUser user ) : void
UserKickedNotify ( IrcUser from, IrcUser target, string reason ) : void
UserLeftNotify ( IrcUser user, string reason ) : void
UserPartedNotify ( IrcUser user, string reason ) : void
UsersAddedNotify ( IrcUser users ) : void

메소드 상세

CompareTo() 공개 메소드

public CompareTo ( object channel ) : int
channel object
리턴 int

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetHighestPriv() 공개 메소드

public GetHighestPriv ( IrcUser user ) : Privilege
user IrcUser
리턴 Privilege

GetModes() 공개 메소드

Returns the modes that are set on this channel.
public GetModes ( ) : string
리턴 string

GetPrivs() 공개 메소드

public GetPrivs ( IrcUser user ) : UserPrivSet
user IrcUser
리턴 UserPrivSet

GetUser() 공개 메소드

Returns the User with the specified nick who is in this Channel or null if there is no such User.
public GetUser ( string nick ) : IrcUser
nick string
리턴 IrcUser

HasMode() 공개 메소드

Returns wether or not this channel has the specified flags, independent on their sequence.
public HasMode ( string modes ) : bool
modes string
리턴 bool

HasOp() 공개 메소드

public HasOp ( IrcUser user ) : bool
user IrcUser
리턴 bool

HasOp() 공개 메소드

public HasOp ( string nick ) : bool
nick string
리턴 bool

HasPriv() 공개 메소드

public HasPriv ( IrcUser user, Privilege priv ) : bool
user IrcUser
priv Privilege
리턴 bool

HasUser() 공개 메소드

Returns wether or not a User with the specified nick is on this Channel.
public HasUser ( string nick ) : bool
nick string
리턴 bool

HasVoice() 공개 메소드

public HasVoice ( IrcUser user ) : bool
user IrcUser
리턴 bool

HasVoice() 공개 메소드

public HasVoice ( string nick ) : bool
nick string
리턴 bool

IrcChannel() 공개 메소드

public IrcChannel ( IrcClient irc, string name ) : System
irc IrcClient
name string
리턴 System

Is() 공개 메소드

Compares this channel'str name with the specified string case-insensitively.
public Is ( string name ) : bool
name string
리턴 bool

IsBanned() 공개 메소드

Indicates wether or not the specified banmask has been set on this Channel.
public IsBanned ( string Banmask ) : bool
Banmask string
리턴 bool

IsUser() 공개 메소드

public IsUser ( IrcUser user, Privilege priv ) : bool
user IrcUser
priv Privilege
리턴 bool

IsUser() 공개 메소드

public IsUser ( string nick, Privilege priv ) : bool
nick string
priv Privilege
리턴 bool

IsUserAtLeast() 공개 메소드

public IsUserAtLeast ( IrcUser user, Privilege priv ) : bool
user IrcUser
priv Privilege
리턴 bool

IsUserAtLeast() 공개 메소드

public IsUserAtLeast ( string nick, Privilege priv ) : bool
nick string
priv Privilege
리턴 bool

Msg() 공개 메소드

public Msg ( object format ) : void
format object
리턴 void

Notice() 공개 메소드

public Notice ( string line ) : void
line string
리턴 void

OnNotice() 보호된 메소드

Fires when the Client receives any kind of NOTICE.
protected OnNotice ( IrcUser user, IrcChannel channel, StringStream text ) : void
user IrcUser The User who sent the text
channel IrcChannel The Channel where it was sent (can be null)
text StringStream The text which was sent
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

this() 공개 메소드

Returns a User within this channel with the corresponding nick.
public this ( string nick ) : IrcUser
nick string
리턴 IrcUser

프로퍼티 상세

BanMasks 공개적으로 프로퍼티

public IDictionary BanMasks
리턴 BanEntry>.IDictionary

Privileges 공개적으로 프로퍼티

public IDictionary Privileges
리턴 UserPrivSet>.IDictionary

UnbanTimers 공개적으로 프로퍼티

public IDictionary UnbanTimers
리턴 UnbanTimer>.IDictionary

Users 공개적으로 프로퍼티

public IDictionary Users
리턴 IrcUser>.IDictionary