Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

DialogicEndBranchEvent

This contains the source code documentation of the class DialogicEndBranchEvent.

DialogicEndBranchEvent

Inherits: Resource

Event that indicates the end of a condition or choice (or custom branch). In text this is not stored (only as a change in indentation).

Methods

ReturnsMethod
intfind_next_index ( )
intget_opening_index ( )
Stringto_text ( )
voidfrom_text ( _string: String )
boolis_valid_event ( string: String )

Method Descriptions

func find_next_index ( ) ⇒ int

Returns the index of the first event that - is on the same "indentation" - is not a branching event (unless it is a branch starter)


func get_opening_index ( ) ⇒ int

No description available.


func to_text ( ) ⇒ String

NOTE: This event is very special. It is rarely stored at all, as it is usually just a placeholder for removing an indentation level. When copying events however, some representation of this is necessary. That's why this is half-implemented.


func from_text ( _string: String ) ⇒ void

No description available.


func is_valid_event ( string: String ) ⇒ bool

No description available.