Skip to content

Commit

Permalink
fix: dotlottie_player_cpp bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelOsborne committed Oct 29, 2024
1 parent fada74d commit f254fcd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dotlottie-ffi/src/dotlottie_player_cpp.udl
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,14 @@ interface DotLottiePlayer {
boolean stop_state_machine();
sequence<string> state_machine_framework_setup();
boolean load_state_machine_data([ByRef] string state_machine);
i32 post_bool_event(boolean value);
i32 post_string_event([ByRef] string value);
i32 post_numeric_event(f32 value);

i32 post_pointer_down_event(f32 x, f32 y);
i32 post_pointer_up_event(f32 x, f32 y);
i32 post_pointer_move_event(f32 x, f32 y);
i32 post_pointer_enter_event(f32 x, f32 y);
i32 post_pointer_exit_event(f32 x, f32 y);
i32 post_set_numeric_context([ByRef] string key, f32 value);
void state_machine_fire_event([ByRef] string event);
i32 state_machine_set_boolean_trigger([ByRef] string key, boolean value);
i32 state_machine_set_string_trigger([ByRef] string key, [ByRef] string value);
i32 state_machine_set_numeric_trigger([ByRef] string key, f32 value);
};

0 comments on commit f254fcd

Please sign in to comment.