Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 2.65 KB

c_lua_menu_item.md

File metadata and controls

36 lines (33 loc) · 2.65 KB

⏲ c_lua_menu_item

Function Parameter Return Type Description
get_name std::string
set_name std::string new_name void
get_bool bool
set_bool bool value void
get_float float
set_float float value void
set_slider_min float value void
set_slider_max float value void
get_int float value
set_int int value void
get_color c_color
set_color float(r, g, b, a) void
get_c_color c_color
set_c_color c_color color void
get_multiselection_item int slot bool
set_multiselection_item int slot, bool value void
is_keybind_active bool
get_keybind_button int
get_keybind_mode int
set_keybind_button int button void
set_keybind_mode int mode void
is_flex_checkbox_active bool
get_flex_checkbox_button int
get_flex_checkbox_mode int
set_flex_checkbox_button int button void
set_flex_checkbox_mode int mode void
toggle_visibility void
set_visible void
set_invisible void
trigger_button_callback void