コード例 #1
0
        public override List <Player> OnPlayerChosen(TrustedAI ai, Player player, List <Player> target, int min, int max)
        {
            Player tar = YinghunJAI.Choose(ai, player);

            if (tar != null)
            {
                return new List <Player> {
                           tar
                }
            }
            ;

            return(new List <Player>());
        }
コード例 #2
0
 public override string OnChoice(TrustedAI ai, Player player, string choice, object data)
 {
     return(YinghunJAI.Choice(ai, player));
 }