示例#1
0
文件: User.java 项目: Haegin/CSBot
 public User(IRCUser a_IRCUser) {
   m_Nicknames = new SelectedList<String>();
   m_Nicknames.add(a_IRCUser.getNick());
   m_Nicknames.setSelected(a_IRCUser.getNick());
   m_Username = a_IRCUser.getUsername();
   m_Host = a_IRCUser.getHost();
 }
示例#2
0
文件: User.java 项目: Haegin/CSBot
 public User(
     String a_Nickname, String a_Username, String a_RealName, String a_Host, String a_Server) {
   m_Nicknames = new SelectedList<String>();
   m_Nicknames.add(a_Nickname);
   m_Nicknames.setSelected(a_Nickname);
   m_Username = a_Username;
   m_RealName = a_RealName;
   m_Host = a_Host;
   m_Server = a_Server;
 }
示例#3
0
文件: User.java 项目: Haegin/CSBot
 public void setSelectedNick(String a_Nickname) {
   m_Nicknames.setSelected(a_Nickname);
 }
示例#4
0
文件: User.java 项目: Haegin/CSBot
 public String getNickname() {
   return m_Nicknames.getSelected();
 }
示例#5
0
文件: User.java 项目: Haegin/CSBot
 public void addLatestNick(String a_Nick) {
   m_Nicknames.add(a_Nick);
   m_Nicknames.setSelected(a_Nick);
 }
示例#6
0
文件: User.java 项目: Haegin/CSBot
 public void addNick(String a_Nick) {
   m_Nicknames.add(a_Nick);
 }
示例#7
0
文件: User.java 项目: Haegin/CSBot
 public User(String a_Nickname) {
   m_Nicknames = new SelectedList<String>();
   m_Nicknames.add(a_Nickname);
   m_Nicknames.setSelected(a_Nickname);
 }