Convert player list, data, module, and vlayer

This commit is contained in:
Cooldude2606 committed 2025-01-30 00:08:38 +00:00
1 parent 81c1e17429
commit a2b4fd119b
11 files changed
+363 -300

No files matched your search

+7
View File
@@ -38,6 +38,13 @@ function ExpGui.set_toolbar_button_style(element, state)
return state
end
--- Get the state of a toolbar button
--- @param element LuaGuiElement
--- @return boolean
function ExpGui.get_toolbar_button_state(element)
return element.style.name == toolbar_button_active_style
end
--- Set the visible state of the top flow for a player
--- @param player LuaPlayer
--- @param state boolean?