Class CustomBillData
- Namespace
- SuzerainModdingKit.StoryFragments.Bill
- Assembly
- SuzerainModdingKit.dll
Represents the data required to define a custom bill story fragment for injection into the game.
public class CustomBillData : CustomStoryFragmentData
- Inheritance
-
CustomBillData
- Inherited Members
Constructors
CustomBillData(string, StoryPackInfo, string, string, string, string, string)
Creates a new instance of this class.
public CustomBillData(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 bill shown in the bill panel.
descriptionstringThe full description of this bill shown in the bill panel.
hubTitlestringThe short title of this bill shown under the assigned token.
hubDescriptionstringThe short description of this bill shown under the assigned token.
Exceptions
- ArgumentNullException
Thrown if any required arguments are null.
Properties
Description
The full description of this bill shown in the bill panel.
public string Description { get; }
Property Value
HubDescription
The short description of this bill shown under the assigned token.
public string HubDescription { get; }
Property Value
HubTitle
The short title of this bill shown under the assigned token.
public string HubTitle { get; }
Property Value
Title
The full title of this bill shown in the bill panel.
public string Title { get; }