mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 00:38:29 +00:00
- code refactoring
- made more and more easily extensible: * commands automatically loaded from plugins dlls * declarative and automatic command parameter parsing * common code moved to base classes - other fixes svn path=/trunk/; revision=33344
This commit is contained in:
parent
e3407fdd9c
commit
d7b2077ed8
42 changed files with 2263 additions and 1689 deletions
|
@ -7,43 +7,33 @@ namespace TechBot.Library
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class ChannelMessageContext : MessageContext
|
||||
{
|
||||
private IrcChannel channel;
|
||||
private IrcChannel m_IrcChannel;
|
||||
|
||||
public IrcChannel Channel
|
||||
{
|
||||
get
|
||||
{
|
||||
return channel;
|
||||
}
|
||||
}
|
||||
public IrcChannel Channel
|
||||
{
|
||||
get { return m_IrcChannel; }
|
||||
}
|
||||
|
||||
public ChannelMessageContext(IrcChannel channel)
|
||||
{
|
||||
this.channel = channel;
|
||||
m_IrcChannel = channel;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class UserMessageContext : MessageContext
|
||||
{
|
||||
private IrcUser user;
|
||||
private IrcUser m_IrcUser;
|
||||
|
||||
public IrcUser User
|
||||
{
|
||||
get
|
||||
{
|
||||
return user;
|
||||
}
|
||||
}
|
||||
public IrcUser User
|
||||
{
|
||||
get { return m_IrcUser; }
|
||||
}
|
||||
|
||||
public UserMessageContext(IrcUser user)
|
||||
{
|
||||
this.user = user;
|
||||
m_IrcUser = user;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue