C# Class Aselia.Core.Channel

Inheritance: Aselia.Common.Core.ChannelBase
Exibir arquivo Open project: Earth2Me/Aselia Class Usage Examples

Public Methods

Method Description
AddPrefix ( UserBase user, char add ) : void
BroadcastExclusive ( string command, UserBase sender ) : void
BroadcastInclusive ( string command, UserBase sender ) : void
Channel ( ) : System
Channel ( Channel clone ) : System
Channel ( Server server, string name, string id ) : System
ClearFlag ( string flag ) : bool
Commit ( ) : void
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

Private Methods

Method Description
AddMode ( UserBase user, ChannelModeAttribute attr, string argument ) : bool
AddModePrefix ( UserBase source, char prefix, User target ) : bool
CheckMode ( UserBase user, ChannelModeAttribute attr, string argument ) : bool
CheckRank ( UserBase user, ChannelModeAttribute attr ) : bool
RemoveMode ( UserBase user, ChannelModeAttribute attr, string argument ) : bool
RemoveModePrefix ( UserBase source, char prefix, User target ) : bool

Method Details

AddPrefix() public method

public AddPrefix ( UserBase user, char add ) : void
user UserBase
add char
return void

BroadcastExclusive() public method

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

BroadcastInclusive() public method

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

Channel() public method

public Channel ( ) : System
return System

Channel() public method

public Channel ( Channel clone ) : System
clone Channel
return System

Channel() public method

public Channel ( Server server, string name, string id ) : System
server Server
name string
id string
return System

ClearFlag() public method

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

Commit() public method

public Commit ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetModeString() public method

public GetModeString ( ) : string
return string

GetPrefix() public method

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

GetUser() public method

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

HasFlag() public method

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

RemovePrefix() public method

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

RemoveUser() public method

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

SetFlag() public method

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

SetModes() public method

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

SetModes() public method

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