Romestead Assembly Reference

Candide.Dialogue.MinimalDialogueRunner

Type JSON

public class in Candide.Dialogue

Methods14
Properties1
Fields11
Events6
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Dialogue
  • Base typeSystem.Object
  • Hash9BA785B158BA78ACC27F9D026AA6B7FD5F5702AA58870395DB738AFF144E0593

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
CommandNeedsHandlingprivateprivate System.EventHandler<System.ValueTuple<System.String, System.String[]>> CommandNeedsHandling
DialogueCompleteprivateprivate System.EventHandler DialogueComplete
DialogueContextIdpublicpublic System.Guid DialogueContextId
LineNeedsPresentationprivateprivate System.EventHandler<Candide.Dialogue.LocalizedLine> LineNeedsPresentation
LineProviderpublicpublic Candide.Dialogue.LineProviderBehaviour LineProvider
NodeEndedprivateprivate System.EventHandler<System.String> NodeEnded
NodeStartedprivateprivate System.EventHandler<System.String> NodeStarted
OptionsNeedPresentationprivateprivate System.EventHandler<Candide.Dialogue.DialogueOption[]> OptionsNeedPresentation
Projectpublicpublic Candide.Dialogue.YarnProject Project
VariableStoragepublicpublic Candide.Dialogue.Storage.VariableStorageBehaviour VariableStorage
YarnDialogueprotectedprotected Yarn.Dialogue YarnDialogue

Properties

NameVisibilitySignature
IsRunningpublicpublic System.Boolean IsRunning

Events

NameVisibilitySignature
CommandNeedsHandlingpublicpublic System.EventHandler<System.ValueTuple<System.String, System.String[]>> CommandNeedsHandling
DialogueCompletepublicpublic System.EventHandler DialogueComplete
LineNeedsPresentationpublicpublic System.EventHandler<Candide.Dialogue.LocalizedLine> LineNeedsPresentation
NodeEndedpublicpublic System.EventHandler<System.String> NodeEnded
NodeStartedpublicpublic System.EventHandler<System.String> NodeStarted
OptionsNeedPresentationpublicpublic System.EventHandler<Candide.Dialogue.DialogueOption[]> OptionsNeedPresentation

Methods

Continue

public System.Void Continue()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash852C6BDAB0788215A08ACBEB9E85CD20D345168B6E16D89B0AE36DF16AB3E5D0
  • Body hash425680808658ACB2D88ABA34638D41F58ECA0C3932C9AD2CAF855F82824DE309
  • IL size31
Referenced calls
Called by
String literals
  • Can't continue dialogue when we aren't currently running any

DefaultCommandHandle

protected System.Void DefaultCommandHandle(System.String funcName, System.String[] args)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashFAC92CD11C2318CCF26439489D73A3FF6955762C6A3DC3D9C9A4379E77065876
  • Body hash2B72613B551F270DCD4334B1493CF6B67098CC411238BB557778B3AB9C374AD3
  • IL size71
Referenced calls
  • Yarn.Dialogue::get_Library()
  • Yarn.Library::FunctionExists(System.String)
  • Yarn.Library::GetFunction(System.String)
  • System.Delegate::DynamicInvoke(System.Object[])
  • System.ValueTuple<System.String, System.String[]>::.ctor(!0, !1)
  • System.EventHandler<System.ValueTuple<System.String, System.String[]>>::Invoke(System.Object, !0)
Called by

ForceEnterNode

public System.Void ForceEnterNode(System.String nodeName)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashE63898FBBA6DADAE39A8CCD01C50178927ADE39DB9C5E2898625E5D6351365B9
  • Body hashCF3CA8556C43A5A1EE3EF2094FF1F9A1900BE0D531787F9E99319F9887D38A4A
  • IL size161
Referenced calls
  • Yarn.Dialogue::get_CurrentNode()
  • System.String::op_Equality(System.String, System.String)
  • Yarn.Dialogue::get_NodeNames()
  • System.Linq.Enumerable::Contains(System.Collections.Generic.IEnumerable<!!0>, !!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • Candide.Dialogue.MinimalDialogueRunner::set_IsRunning(System.Boolean)
  • Yarn.Dialogue::SetNode(System.String)
  • Yarn.Dialogue::Continue()
Called by
String literals
  • MinimalDialogueRunner
  • : Tried to
  • ForceEnterNode
  • to node
  • but the node does not exist in the current dialogue.

HandleCommand

protected System.Void HandleCommand(Yarn.Command command)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash202A1AD8358D816BE42196F2C6E578E1684494A77667BC584CC7D234178F597A
  • Body hashC8D0BDAFE4F17F566B426FA07FE5A6D784409EDCE9E0A5E0DE79C97070C7B0C2
  • IL size40
Referenced calls

HandleDialogueComplete

protected System.Void HandleDialogueComplete()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash2C77C58329559391C9D7FDC8781D57A9BEB322AC7EE51BD8314EDBD587D9C636
  • Body hashE3937F09A1A2FA4BF1D668BFB6A7EA4DBC0E08CF9DD5F1FCD9BE6DDDDC9A6B82
  • IL size30
Referenced calls
  • Candide.Dialogue.MinimalDialogueRunner::set_IsRunning(System.Boolean)
  • System.EventHandler::Invoke(System.Object, System.EventArgs)

HandleLine

protected System.Void HandleLine(Yarn.Line line)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash20156CF287095935D576BD628268E9662272BE22BED0930CA797D6181FFF0FE2
  • Body hash76DF9D40C475F283E701EBD9580D59F8B58EDB3CB799B2E80EEE9E2443C10D94
  • IL size90
Referenced calls
  • Candide.Dialogue.LineProviderBehaviour::GetLocalizedLine(Yarn.Line)
  • Yarn.Dialogue::ExpandSubstitutions(System.String, System.Collections.Generic.IList<System.String>)
  • Candide.Dialogue.LineProviderBehaviour::get_LocaleCode()
  • Yarn.Dialogue::set_LanguageCode(System.String)
  • Yarn.Dialogue::ParseMarkup(System.String)
  • Candide.Dialogue.LocalizedLine::set_Text(Yarn.Markup.MarkupParseResult)
  • System.EventHandler<Candide.Dialogue.LocalizedLine>::Invoke(System.Object, !0)

HandleNodeEnded

protected System.Void HandleNodeEnded(System.String nodeName)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash2BF88FA0E8E1AD15545AAC602D92C6F2676A179CEA0D702C0635892D48C2A206
  • Body hashD677226BA50623C89D3B494D182E41ECC2B8F99003B53E27D77C3C7B041C4EEF
  • IL size19
Referenced calls
  • System.EventHandler<System.String>::Invoke(System.Object, !0)

HandleNodeStarted

protected System.Void HandleNodeStarted(System.String nodeName)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash37517A9F9E090EFA62FDDC3E24BA074D94D43132B0D0856B0E9566DE993F479D
  • Body hash21C5E1A19E45CE8AA0F8D379133D7EA26D05F997ED16C83DD2E4E8845545CFFA
  • IL size19
Referenced calls
  • System.EventHandler<System.String>::Invoke(System.Object, !0)

HandleOptions

protected System.Void HandleOptions(Yarn.OptionSet options)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash411163DF2B210ED68C485CC17BBE5A3226968C9AE7C1E0A2DD9B9C31C53BC095
  • Body hash55E133833465A7338071F9A17A23A4655187D4E0928DD9AF365B9D13F840A829
  • IL size256
Referenced calls
  • Yarn.OptionSet::get_Options()
  • OptionSet.Option::get_Line()
  • Candide.Dialogue.LineProviderBehaviour::GetLocalizedLine(Yarn.Line)
  • Yarn.Dialogue::ExpandSubstitutions(System.String, System.Collections.Generic.IList<System.String>)
  • System.Globalization.CultureInfo::get_CurrentCulture()
  • System.Globalization.CultureInfo::get_Name()
  • Yarn.Dialogue::set_LanguageCode(System.String)
  • Yarn.Dialogue::ParseMarkup(System.String)
  • Candide.Dialogue.LocalizedLine::set_Text(Yarn.Markup.MarkupParseResult)
  • Candide.Dialogue.DialogueOption::.ctor()
  • Candide.Dialogue.DialogueOption::set_TextID(System.String)
  • OptionSet.Option::get_ID()
  • Candide.Dialogue.DialogueOption::set_DialogueOptionID(System.Int32)
  • Candide.Dialogue.DialogueOption::set_Line(Candide.Dialogue.LocalizedLine)
  • OptionSet.Option::get_IsAvailable()
  • Candide.Dialogue.DialogueOption::set_IsAvailable(System.Boolean)
  • System.EventHandler<Candide.Dialogue.DialogueOption[]>::Invoke(System.Object, !0)

NodeExists

public System.Boolean NodeExists(System.String nodeName)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • HashEF3CB146FD59529C9DDB0C35DDFE8C4D70A4363E38B3D7EE44A75584827F8EF9
  • Body hash3C78E55400924E2A62F3CAE3644CAC32152DD52F4FCF2CEA85575C68077F88CB
  • IL size13
Referenced calls
  • Yarn.Dialogue::NodeExists(System.String)

PrepareForLines

protected System.Void PrepareForLines(System.Collections.Generic.IEnumerable<System.String> lineIDs)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash94F5712548D76948A05AF2D3AE4F4424EFC6B344936680DF45D249D5635C2791
  • Body hash1C388A2259A582858D5EAD15D727E7E457DD3CFF41F254413A00F531D325D86D
  • IL size13
Referenced calls

SetSelectedOption

public System.Void SetSelectedOption(System.Int32 optionIndex, System.String debugTextId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashC39B0E715050B2FD0B6690F2529B8266A7D78B767BD33EEEB0D12D24A65E5FA0
  • Body hash37E4FCF8429A5743DC2F4A86DFB5BE2CE6B05F03463482A5179FCA80CC1CCBDB
  • IL size353
Referenced calls
  • Candide.Dialogue.MinimalDialogueRunner::get_IsRunning()
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • Yarn.Dialogue::SetSelectedOption(System.Int32)
  • Yarn.Dialogue::Continue()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • Yarn.Dialogue::get_CurrentNode()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • Yarn.Dialogue::get_IsActive()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • Yarn.Dialogue::get_LanguageCode()
  • Yarn.Dialogue::get_NodeNames()
  • System.String::Join(System.String, System.Collections.Generic.IEnumerable<System.String>)
  • Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()
  • System.Collections.Generic.Dictionary<System.Int32, Candide.Multiplayer.Models.ClientPlayerCharacter>::get_Count()
  • System.Exception::get_StackTrace()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • Shared.Analytics.AnalyticsManager::TrackError(System.String)
Called by
String literals
  • Can't select an option when not currently running dialogue
  • Current node:
  • IsActive:
  • LanguageCode:
  • NodeNames:
  • ,
  • Playing on controller:
  • Multiplayer:
  • Is host:
  • Option index and text ID:
  • Full exception:

StartDialogue

public System.Void StartDialogue(System.String nodeName)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashA628FA776EE240E34987570ED03FE532E9E3F1D78D4A6EE787FA95B7D1F58F85
  • Body hash61A40E8ED2C953C9A4B4B9FCEF18A31A503714DB7CB43AB01459082C81A27BD4
  • IL size40
Referenced calls
  • Candide.Dialogue.MinimalDialogueRunner::get_IsRunning()
  • Candide.Dialogue.MinimalDialogueRunner::set_IsRunning(System.Boolean)
  • Yarn.Dialogue::SetNode(System.String)
  • Yarn.Dialogue::Continue()

StopDialogue

public System.Void StopDialogue()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashBEAB02F71A54588110EDD4A760CA3DBA4459168124DAEDD3C72B585ECD8271E5
  • Body hash33A606436224A269F44B3C1C10A03BC93637A6DC169C453287234F6BE66F7BF5
  • IL size19
Referenced calls
  • Yarn.Dialogue::Stop()
  • Candide.Dialogue.MinimalDialogueRunner::set_IsRunning(System.Boolean)
Called by