예제 #1
0
 public Dictionary <string, string> GetPropertiesAsDictionary()
 {
     return(new Dictionary <string, string>
     {
         ["Contempt"] = Contempt.ToString(),
         ["Threads"] = Threads.ToString(),
         ["Ponder"] = Ponder.ToString(),
         ["MultiPV"] = MultiPV.ToString(),
         ["Skill Level"] = SkillLevel.ToString(),
         ["Move Overhead"] = MoveOverhead.ToString(),
         ["Slow Mover"] = SlowMover.ToString(),
         ["UCI_Chess960"] = UCIChess960.ToString(),
     });
 }
        public override string ToString()
        {
            string result = Timestamp.ToString();

            result += ";" + Neutral.ToString();
            result += ";" + Happy.ToString();
            result += ";" + Sad.ToString();
            result += ";" + Angry.ToString();
            result += ";" + Surprised.ToString();
            result += ";" + Scared.ToString();
            result += ";" + Disgusted.ToString();
            result += ";" + Contempt.ToString();
            result += ";" + Valence.ToString();
            result += ";" + Arousal.ToString();

            return(result);
        }