GE Lua Documentation

Press F to search!

ImGuiStorage_SetInt

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:1929
function M.ImGuiStorage_SetInt(ImGuiStorage_ctx, ImGuiID_key, int_val) ImGuiStorage_ctx:SetInt(ImGuiID_key, int_val) end

Callers

@/lua/ge/extensions/editor/biomeTool.lua
  local id = imgui.GetID1(label)
  imgui.ImGuiStorage_SetInt(imgui.GetStateStorage(), id, state and 1 or 0)
end
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
            local state = self.setTreeNodesOpen and 1 or 0
            im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1(d), state)
          end
        local state = self.setTreeNodesOpen and 1 or 0
        im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1("Variables"), state)
      end
          local state = self.setTreeNodesOpen and 1 or 0
          im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1("Project Variables"), state)
        end
          local state = self.setTreeNodesOpen and 1 or 0
          im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1("Graph Variables"), state)
        end
        local state = self.setTreeNodesOpen and 1 or 0
        im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1("Macros"), state)
      end
            local state = self.setTreeNodesOpen and 1 or 0
            im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1(d), state)
          end
          local state = self.setTreeNodesOpen and 1 or 0
          im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1(dirName), state)
        end
@/lua/ge/extensions/flowgraph/nodes/vehicle/customPartsConfigProvider.lua
        if not self._opened then
          im.ImGuiStorage_SetInt(im.GetStateStorage(),im.GetID1("Part Config Custom:"), 0)
        end