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
namestringThe unique identifier of this story fragment.
storyPackStoryPackInfoThe story pack that this story fragment should appear in. See
SuzerainStoryPackInfo.assignedTokenNamestringThe name of the token this story fragment should appear on. See
SuzerainTokenName.titlestringThe full title of this decision shown in the decision panel.
descriptionstringThe full description of this decision shown in the decision panel.
hubTitlestringThe short title of this decision shown under the assigned token.
hubDescriptionstringThe 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
HubDescription
The short description of this decision shown under the assigned token.
public string HubDescription { get; }
Property Value
HubTitle
The short title of this decision shown under the assigned token.
public string HubTitle { get; }
Property Value
Title
The full title of this decision shown in the decision panel.
public string Title { get; }