Class CustomConversationFragment
- Namespace
- SuzerainModdingKit.StoryFragments.Conversation
- Assembly
- SuzerainModdingKit.dll
Represents the data required to define a custom conversation story fragment for injection into the game.
public class CustomConversationFragment : CustomStoryFragmentData
- Inheritance
-
CustomConversationFragment
- Inherited Members
Constructors
CustomConversationFragment(string, StoryPackInfo, string, string, string, ConversationType, string)
Creates a new instance of this class.
public CustomConversationFragment(string name, StoryPackInfo storyPack, string assignedTokenName, string hubTitle, string hubDescription, ConversationData.ConversationType type, string conversationName)
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.hubTitlestringThe short title of this bill shown under the assigned token.
hubDescriptionstringThe short description of this bill shown under the assigned token.
typeConversationData.ConversationTypeThe conversation type.
conversationNamestringThe name of the conversation that this story fragment opens.
Exceptions
- ArgumentNullException
Thrown if any required arguments are null.
Properties
ConversationName
The name of the conversation that this story fragment opens.
public string ConversationName { 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
Type
The conversation type.
public ConversationData.ConversationType Type { get; }
Property Value
- ConversationData.ConversationType