C# Class Xuld.Robot.SimpleRobot

表示一个简单的机器人的实现。
Inheritance: IRobot
Afficher le fichier Open project: xuld/AI-Robot Class Usage Examples

Méthodes publiques

Méthode Description
Answer ( string message, System options ) : string

向机器人说话,返回机器人的回复。

Method Details

Answer() public méthode

向机器人说话,返回机器人的回复。
public Answer ( string message, System options ) : string
message string 向机器人说话的内容
options System 存储了说话时的其它附属信息。 /// /// speaker: 问话的人的名字。 /// speakerID: 问话的人的 ID。 /// group: 所在的群。 /// groupID: 所在的群的 ID。 /// time: 提问的时间。 /// ///
Résultat string