Exemple #1
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public set(Bot bot,
            AIMLbot.User user,
            Utils.SubQuery query,
            Request request,
            AIMLbot.Result result,
            XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
 }
Exemple #2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public Set(AIML.Bot bot,
            User user,
            Utils.SubQuery query,
            Request request,
            Result result,
            XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
 }
 public trueknowledgeserver(AltBot bot,
                            User user,
                            Utils.SubQuery query,
                            Request request,
                            Result result,
                            XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
 }
Exemple #4
0
 public postcache(AltBot bot,
                  User user,
                  Utils.SubQuery query,
                  Request request,
                  Result result,
                  XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
 }
Exemple #5
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public Thatstar(ILogger logger,
                 ReniBot.AimlEngine.Utils.SubQuery query,
                 ReniBot.AimlEngine.Request request,
                 XmlNode templateNode)
     : base(logger, templateNode)
 {
     _query   = query;
     _request = request;
 }
Exemple #6
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public btxml(AltBot bot,
              User user,
              Utils.SubQuery query,
              Request request,
              Result result,
              XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
     this.isRecursive = false;
 }
Exemple #7
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public Condition(AIML.Bot bot,
                  User user,
                  Utils.SubQuery query,
                  Request request,
                  Result result,
                  XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
     IsRecursive = false;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public botsetting(AltBot bot,
                   User user,
                   Utils.SubQuery query,
                   Request request,
                   Result result,
                   XmlNode templateNode, string settingGrab)
     : base(bot, user, query, request, result, templateNode)
 {
     SettingToGrab = settingGrab;
 }
Exemple #9
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public random(Bot bot,
               AIMLbot.User user,
               Utils.SubQuery query,
               Request request,
               AIMLbot.Result result,
               XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
     isRecursive = false;
 }
Exemple #10
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public say(AltBot bot,
            User user,
            Utils.SubQuery query,
            Request request,
            Result result,
            XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
     isRecursive = true;
 }
Exemple #11
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public filterqa(AltBot bot,
                 User user,
                 Utils.SubQuery query,
                 Request request,
                 Result result,
                 XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
     this.isRecursive = true;
     this.isBoring    = true;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public format_prev(AltBot bot,
                    User user,
                    Utils.SubQuery query,
                    Request request,
                    Result result,
                    XmlNode templateNode, Func <string, string> formatter)
     : base(bot, user, query, request, result, templateNode)
 {
     isRecursive = true;
     Formatter   = formatter;
 }
Exemple #13
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public Person(ILogger logger,
               BotConfiguration config,
               Utils.SubQuery query,
               Request request,
               XmlNode templateNode)
     : base(logger, templateNode)
 {
     _config  = config;
     _query   = query;
     _request = request;
     _logger  = logger;
 }
Exemple #14
0
 public logictext(AltBot bot,
                  User user,
                  Utils.SubQuery query,
                  Request request,
                  Result result,
                  XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
     isRecursive      = true;
     IsStarAtomically = true;
     isBoring         = true;
 }
Exemple #15
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public Sr(ILogger logger,
           Bot bot,
           User user,
           Utils.SubQuery query,
           Request request,
           XmlNode templateNode)
     : base(logger, templateNode)
 {
     _user    = user;
     _query   = query;
     _request = request;
     _logger  = logger;
     _bot     = bot;
 }