Candide.Dialogue.MinimalDialogueRunner
Type JSONpublic class in Candide.Dialogue
Type metadata
- Assembly
Romestead - Namespace
Candide.Dialogue - Base type
System.Object - Hash
9BA785B158BA78ACC27F9D026AA6B7FD5F5702AA58870395DB738AFF144E0593
Relationships
Base type
System.Object
Derived types
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
CommandNeedsHandling# | private | private System.EventHandler<System.ValueTuple<System.String, System.String[]>> CommandNeedsHandling |
DialogueComplete# | private | private System.EventHandler DialogueComplete |
DialogueContextId# | public | public System.Guid DialogueContextId |
LineNeedsPresentation# | private | private System.EventHandler<Candide.Dialogue.LocalizedLine> LineNeedsPresentation |
LineProvider# | public | public Candide.Dialogue.LineProviderBehaviour LineProvider |
NodeEnded# | private | private System.EventHandler<System.String> NodeEnded |
NodeStarted# | private | private System.EventHandler<System.String> NodeStarted |
OptionsNeedPresentation# | private | private System.EventHandler<Candide.Dialogue.DialogueOption[]> OptionsNeedPresentation |
Project# | public | public Candide.Dialogue.YarnProject Project |
VariableStorage# | public | public Candide.Dialogue.Storage.VariableStorageBehaviour VariableStorage |
YarnDialogue# | protected | protected Yarn.Dialogue YarnDialogue |
Properties
| Name | Visibility | Signature |
|---|---|---|
IsRunning# | public | public System.Boolean IsRunning |
Events
| Name | Visibility | Signature |
|---|---|---|
CommandNeedsHandling# | public | public System.EventHandler<System.ValueTuple<System.String, System.String[]>> CommandNeedsHandling |
DialogueComplete# | public | public System.EventHandler DialogueComplete |
LineNeedsPresentation# | public | public System.EventHandler<Candide.Dialogue.LocalizedLine> LineNeedsPresentation |
NodeEnded# | public | public System.EventHandler<System.String> NodeEnded |
NodeStarted# | public | public System.EventHandler<System.String> NodeStarted |
OptionsNeedPresentation# | public | public System.EventHandler<Candide.Dialogue.DialogueOption[]> OptionsNeedPresentation |
Methods
Continue
#
public System.Void Continue()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
852C6BDAB0788215A08ACBEB9E85CD20D345168B6E16D89B0AE36DF16AB3E5D0 - Body hash
425680808658ACB2D88ABA34638D41F58ECA0C3932C9AD2CAF855F82824DE309 - IL size31
Referenced calls
Candide.Dialogue.MinimalDialogueRunner::get_IsRunning()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Yarn.Dialogue::Continue()
Called by
Candide.CandideUI.Components.Dialogue.CandideDialogueComponent::HandlePressCandide.CandideUI.Components.Dialogue.CandideDialogueComponent::UpdateCandide.Dialogue.DialogueRunner::ActorCandide.Dialogue.DialogueRunner::CitizenCandide.Dialogue.DialogueRunner::ContinueCandide.Dialogue.DialogueRunner::GiveCurrentCitizenAuraCandide.Dialogue.DialogueRunner::HandInItemCandide.Dialogue.DialogueRunner::OpenQuestLogCandide.Dialogue.DialogueRunner::OpenTutorialCandide.Dialogue.DialogueRunner::RunServerScriptCandide.Dialogue.DialogueRunner::StartNpcQuestCandide.Dialogue.DialogueRunner::TryFinishQuestCandide.Dialogue.DialogueRunner::Update
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 type
System.Void - StaticFalse
- VirtualFalse
- Hash
FAC92CD11C2318CCF26439489D73A3FF6955762C6A3DC3D9C9A4379E77065876 - Body hash
2B72613B551F270DCD4334B1493CF6B67098CC411238BB557778B3AB9C374AD3 - 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)
ForceEnterNode
#
public System.Void ForceEnterNode(System.String nodeName)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E63898FBBA6DADAE39A8CCD01C50178927ADE39DB9C5E2898625E5D6351365B9 - Body hash
CF3CA8556C43A5A1EE3EF2094FF1F9A1900BE0D531787F9E99319F9887D38A4A - 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 toForceEnterNodeto nodebut the node does not exist in the current dialogue.
HandleCommand
#
protected System.Void HandleCommand(Yarn.Command command)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
202A1AD8358D816BE42196F2C6E578E1684494A77667BC584CC7D234178F597A - Body hash
C8D0BDAFE4F17F566B426FA07FE5A6D784409EDCE9E0A5E0DE79C97070C7B0C2 - IL size40
Referenced calls
Yarn.Command::get_Text()Candide.Dialogue.DialogueRunnerHelper::SplitCommandText(System.String)System.Linq.Enumerable::ToArray(System.Collections.Generic.IEnumerable<!!0>)System.Linq.Enumerable::Skip(System.Collections.Generic.IEnumerable<!!0>, System.Int32)Candide.Dialogue.MinimalDialogueRunner::DefaultCommandHandle(System.String, System.String[])
HandleDialogueComplete
#
protected System.Void HandleDialogueComplete()
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2C77C58329559391C9D7FDC8781D57A9BEB322AC7EE51BD8314EDBD587D9C636 - Body hash
E3937F09A1A2FA4BF1D668BFB6A7EA4DBC0E08CF9DD5F1FCD9BE6DDDDC9A6B82 - 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 type
System.Void - StaticFalse
- VirtualTrue
- Hash
20156CF287095935D576BD628268E9662272BE22BED0930CA797D6181FFF0FE2 - Body hash
76DF9D40C475F283E701EBD9580D59F8B58EDB3CB799B2E80EEE9E2443C10D94 - 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 type
System.Void - StaticFalse
- VirtualTrue
- Hash
2BF88FA0E8E1AD15545AAC602D92C6F2676A179CEA0D702C0635892D48C2A206 - Body hash
D677226BA50623C89D3B494D182E41ECC2B8F99003B53E27D77C3C7B041C4EEF - IL size19
Referenced calls
System.EventHandler<System.String>::Invoke(System.Object, !0)
HandleNodeStarted
#
protected System.Void HandleNodeStarted(System.String nodeName)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
37517A9F9E090EFA62FDDC3E24BA074D94D43132B0D0856B0E9566DE993F479D - Body hash
21C5E1A19E45CE8AA0F8D379133D7EA26D05F997ED16C83DD2E4E8845545CFFA - IL size19
Referenced calls
System.EventHandler<System.String>::Invoke(System.Object, !0)
HandleOptions
#
protected System.Void HandleOptions(Yarn.OptionSet options)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
411163DF2B210ED68C485CC17BBE5A3226968C9AE7C1E0A2DD9B9C31C53BC095 - Body hash
55E133833465A7338071F9A17A23A4655187D4E0928DD9AF365B9D13F840A829 - 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 type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
EF3CB146FD59529C9DDB0C35DDFE8C4D70A4363E38B3D7EE44A75584827F8EF9 - Body hash
3C78E55400924E2A62F3CAE3644CAC32152DD52F4FCF2CEA85575C68077F88CB - 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 type
System.Void - StaticFalse
- VirtualTrue
- Hash
94F5712548D76948A05AF2D3AE4F4424EFC6B344936680DF45D249D5635C2791 - Body hash
1C388A2259A582858D5EAD15D727E7E457DD3CFF41F254413A00F531D325D86D - IL size13
SetSelectedOption
#
public System.Void SetSelectedOption(System.Int32 optionIndex, System.String debugTextId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C39B0E715050B2FD0B6690F2529B8266A7D78B767BD33EEEB0D12D24A65E5FA0 - Body hash
37E4FCF8429A5743DC2F4A86DFB5BE2CE6B05F03463482A5179FCA80CC1CCBDB - 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)
String literals
Can't select an option when not currently running dialogueCurrent 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 type
System.Void - StaticFalse
- VirtualTrue
- Hash
A628FA776EE240E34987570ED03FE532E9E3F1D78D4A6EE787FA95B7D1F58F85 - Body hash
61A40E8ED2C953C9A4B4B9FCEF18A31A503714DB7CB43AB01459082C81A27BD4 - 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 type
System.Void - StaticFalse
- VirtualTrue
- Hash
BEAB02F71A54588110EDD4A760CA3DBA4459168124DAEDD3C72B585ECD8271E5 - Body hash
33A606436224A269F44B3C1C10A03BC93637A6DC169C453287234F6BE66F7BF5 - IL size19
Referenced calls
Yarn.Dialogue::Stop()Candide.Dialogue.MinimalDialogueRunner::set_IsRunning(System.Boolean)