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
Returns | Method |
---|---|
int | find_next_index ( ) |
int | get_opening_index ( ) |
String | to_text ( ) |
void | from_text ( _string : String ) |
bool | is_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.
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.