Choices

While choices are handled automatically through dialogue, you're free to add some of your own, or remove existing ones.

Checking if a Choice Was Made

if (QT.HasChoice("MyChoiceKey"))
{
    // Do something...
}

Getting Choices

The database does not store the choice details. It simply stores the choice key.

Adding Choices

Choices are stored in the database as a ChoiceEntry. You can use this to add your own choices.

var choice = new ChoiceEntry("MyChoiceKey");
QT.AddChoice(choice);

Removing Choices

QT.DeleteChoice("MyChoiceKey");

Last updated