Table of Contents

Class CustomDecisionData

Namespace
SuzerainModdingKit.StoryFragments.Decision
Assembly
SuzerainModdingKit.dll

Represents the data required to define a custom decision story fragment for injection into the game.

public class CustomDecisionData : CustomStoryFragmentData
Inheritance
CustomDecisionData
Inherited Members

Constructors

CustomDecisionData(string, StoryPackInfo, string, string, string, string, string)

Creates a new instance of this class.

public CustomDecisionData(string name, StoryPackInfo storyPack, string assignedTokenName, string title, string description, string hubTitle, string hubDescription)

Parameters

name string

The unique identifier of this story fragment.

storyPack StoryPackInfo

The story pack that this story fragment should appear in. See SuzerainStoryPackInfo.

assignedTokenName string

The name of the token this story fragment should appear on. See SuzerainTokenName.

title string

The full title of this decision shown in the decision panel.

description string

The full description of this decision shown in the decision panel.

hubTitle string

The short title of this decision shown under the assigned token.

hubDescription string

The short description of this decision shown under the assigned token.

Exceptions

ArgumentNullException

Thrown if any required arguments are null.

Properties

Description

The full description of this decision shown in the decision panel.

public string Description { get; }

Property Value

string

HubDescription

The short description of this decision shown under the assigned token.

public string HubDescription { get; }

Property Value

string

HubTitle

The short title of this decision shown under the assigned token.

public string HubTitle { get; }

Property Value

string

Title

The full title of this decision shown in the decision panel.

public string Title { get; }

Property Value

string

See Also