C# Class Aselia.Common.Core.ChannelBase

Inheritance: ChannelSurrogate, IDisposable
显示文件 Open project: Earth2Me/Aselia Class Usage Examples

Public Methods

Method Description
AddPrefix ( UserBase user, char c ) : void
BroadcastExclusive ( string command, UserBase sender ) : void
BroadcastInclusive ( string command, UserBase sender ) : void
ChannelBase ( ) : System
ChannelBase ( ChannelBase clone ) : System
ClearFlag ( string flag ) : bool
Dispose ( ) : void
GetModeString ( ) : string
GetPrefix ( UserBase user ) : string
GetUser ( string nick, UserBase notifyOnError = null ) : UserBase
HasFlag ( string flag ) : bool
RemovePrefix ( UserBase user, char c ) : void
RemoveUser ( UserBase user, bool removeFromUser = true ) : void
SetFlag ( string flag ) : bool
SetModes ( UserBase user, string modes ) : void
SetModes ( UserBase user, string flags, string arguments ) : void

Protected Methods

Method Description
ChannelBase ( ServerBase server, string name, string id ) : System

Method Details

AddPrefix() public abstract method

public abstract AddPrefix ( UserBase user, char c ) : void
user UserBase
c char
return void

BroadcastExclusive() public abstract method

public abstract BroadcastExclusive ( string command, UserBase sender ) : void
command string
sender UserBase
return void

BroadcastInclusive() public abstract method

public abstract BroadcastInclusive ( string command, UserBase sender ) : void
command string
sender UserBase
return void

ChannelBase() public method

public ChannelBase ( ) : System
return System

ChannelBase() public method

public ChannelBase ( ChannelBase clone ) : System
clone ChannelBase
return System

ChannelBase() protected method

protected ChannelBase ( ServerBase server, string name, string id ) : System
server ServerBase
name string
id string
return System

ClearFlag() public abstract method

public abstract ClearFlag ( string flag ) : bool
flag string
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetModeString() public abstract method

public abstract GetModeString ( ) : string
return string

GetPrefix() public abstract method

public abstract GetPrefix ( UserBase user ) : string
user UserBase
return string

GetUser() public abstract method

public abstract GetUser ( string nick, UserBase notifyOnError = null ) : UserBase
nick string
notifyOnError UserBase
return UserBase

HasFlag() public abstract method

public abstract HasFlag ( string flag ) : bool
flag string
return bool

RemovePrefix() public abstract method

public abstract RemovePrefix ( UserBase user, char c ) : void
user UserBase
c char
return void

RemoveUser() public abstract method

public abstract RemoveUser ( UserBase user, bool removeFromUser = true ) : void
user UserBase
removeFromUser bool
return void

SetFlag() public abstract method

public abstract SetFlag ( string flag ) : bool
flag string
return bool

SetModes() public abstract method

public abstract SetModes ( UserBase user, string modes ) : void
user UserBase
modes string
return void

SetModes() public abstract method

public abstract SetModes ( UserBase user, string flags, string arguments ) : void
user UserBase
flags string
arguments string
return void