This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/BigBaseV2/src/gui/window/main/tab_recovery.cpp

25 lines
530 B
C++

#include "fiber_pool.hpp"
#include "main_tabs.hpp"
#include "script.hpp"
#include "util/player.hpp"
namespace big
{
void tab_main::tab_recovery()
{
if (ImGui::BeginTabItem("Recovery"))
{
ImGui::Text("Set Current Character Level:");
ImGui::SliderInt("##input_levels_self", &g.player.set_level, 0, 8000);
if (ImGui::Button("Set Level"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
player::set_player_level(g.player.set_level);
}QUEUE_JOB_END_CLAUSE
}
ImGui::EndTabItem();
}
}
}