Table of Contents

Class DecisionManager

Namespace
SuzerainModdingKit.StoryFragments.Decision
Assembly
SuzerainModdingKit.dll

Static interface for querying and modifying the current active decision.

public static class DecisionManager
Inheritance
DecisionManager
Inherited Members

Properties

CurrentDecisionName

The name of the current decision. May be null.

public static string CurrentDecisionName { get; }

Property Value

string

Methods

AddOption(string)

Add an option to the current decision.

public static void AddOption(string text)

Parameters

text string

The text of the new option.

Exceptions

ArgumentNullException

Thrown if any required arguments are null.

InvalidOperationException

Thrown if the game is not active.

GetOptions()

Get the list of options in the current decision.

public static IList<DecisionOptionInfo> GetOptions()

Returns

IList<DecisionOptionInfo>

Returns a list of DecisionOptionInfo objects representing the options in the decision.

Exceptions

InvalidOperationException

Thrown if the game is not active.