3.4 KiB
3.4 KiB
CallbackMap
Description
A simple class to manage callbacks for different keys
Properties
Name | Type | Default |
---|---|---|
callbacks | Dictionary | |
single_callbacks | Array |
Methods
Returns | Name |
---|---|
void | _validate_key ( key: Variant ) |
void | add ( key: Variant, callback: Callable ) |
void | add_once ( key: Variant, callback: Callable ) |
void | call_key ( key: Variant, args: Array ) |
void | remove ( key: Variant, callback: Callable ) |
Property Descriptions
callbacks: Dictionary
No description provided yet.
single_callbacks: Array
No description provided yet.
Method Descriptions
_validate_key ( key: Variant ) -> void
No description provided yet.
add ( key: Variant, callback: Callable ) -> void
No description provided yet.
add_once ( key: Variant, callback: Callable ) -> void
No description provided yet.
call_key ( key: Variant, args: Array ) -> void
No description provided yet.
remove ( key: Variant, callback: Callable ) -> void
No description provided yet.