示例#1
0
 private void startConversation(IJModule module)
 {
     
 }
示例#2
0
 private void alertFunction()
 {
     while (sre == null) ;
     string s;
     string userSaid;
     int updateinterval = preferences.updateinterval;
     bool reply;
     while (true)
     {
         foreach (IJModule module in modules)
         {
             s = module.alertFeed(out reply, out userSaid);
             if (reply)
                 replyObj = module;
             if (s != null)
                 say(s);
         }
         Thread.Sleep(updateinterval * 1000);
         replyObj = null;
     }
 }