What this component contains
ATTRIBUTION.mdLICENSEREADME.mdbaltor_test.gdcomponent.jsondoor_table.jsonevent_transition_table.gdinspect_gdscript.pyrun_tests.gdtest_package.pytests/test_event_transition_table.gdverification/native.json
How it works
- Class
- BaltorTransitionTable, extends RefCounted
- Methods
- register_guard(guard_name: StringName, guard: Callable) -> void; register_action(action_name: StringName, action: Callable) -> void; load_table(table: Dictionary) -> bool; get_errors() -> PackedStringArray; fire(event: StringName, payload: Dictionary = {}) -> bool; get_state() -> StringName; reset() -> void; available_events() -> PackedStringArray
- Signals
- transitioned, event_ignored
- Placement
- res://baltor/godot_components/event_transition_table/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
godot_parse_check_onlygodot_gdscript_testsgodot_tests_reject_gutted_componentgodot_editor_importgodot_contract_reflectiongodot_readme_usage_compiles
Limits to consider
Flat states only. Guards and actions must be registered before load_table(). The first matching row wins; there are no priorities beyond table order and exact-before-wildcard. door_table.json is sample data. Verified with Godot 4.7.2 headless; written against the Godot 4.3 API.