コード例 #1
0
        public virtual string Talk()
        {
            try
            {
                TalkGeneratorArgs args = new TalkGeneratorArgs {
                    Agi = Agi
                };
                return(TalkGenerator.Generation(args));
            }
            catch (Exception)
            {
                if (!isIgnoreError)
                {
                    throw;
                }

                return(Content.OVER.Text);
            }
        }
コード例 #2
0
ファイル: Agent_Aries.cs プロジェクト: yoshinobc/aiwolf
        public override string Talk()
        {
            try
            {
                TalkGeneratorArgs args = new TalkGeneratorArgs {
                    Agi = Agi, GuessResult = LatestGuess, ActionPlan = LatestPlan
                };
                args.Items.Add("FakeSeerJudge", fakeSeerJudge);
                args.Items.Add("AgentStatistics", statistics);

                return(TalkGenerator.Generation(args));
            }
            catch (Exception)
            {
                if (!isIgnoreError)
                {
                    throw;
                }

                return(Content.OVER.Text);
            }
        }