Esempio n. 1
0
 /// <summary>
 /// Options with which to start the interaction with Charisma.
 /// </summary>
 /// <param name="conversationId">Id of the conversation to start.</param>
 /// <param name="sceneIndex">Index of the scene to start.</param>
 /// <param name="speechConfig">To use speech, pass speech options.</param>
 public StartOptions(int conversationId, int sceneIndex, SpeechOptions speechConfig = null)
 {
     this.conversationId = conversationId;
     this.sceneIndex     = sceneIndex;
     this.speechConfig   = speechConfig;
 }
Esempio n. 2
0
 /// <summary>
 /// Options with which to resume a playthrough in Charisma.
 /// </summary>
 /// <param name="conversationId">Id of the conversation to resume.</param>
 /// <param name="speechConfig">To use speech, pass speech options.</param>
 public ResumeOptions(int conversationId, SpeechOptions speechConfig = null)
 {
     this.conversationId = conversationId;
     this.speechConfig   = speechConfig;
 }
Esempio n. 3
0
 /// <summary>
 /// Player response to Charisma.
 /// </summary>
 /// <param name="text">Message to send</param>
 /// <param name="speechConfig">Changes the speech settings of the interaction.
 ///  - Don't pass unless you want to change settings.'</param>
 /// <param name="conversationId">Id of the conversation to send the reply to.</param>
 public Reply(string text, int conversationId, SpeechOptions speechConfig = null)
 {
     this.text           = text;
     this.speechConfig   = speechConfig;
     this.conversationId = conversationId;
 }