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.
Files
YimMenu/BigBaseV2/src/gui/tab_bar/tab_misc.cpp

47 lines
974 B
C++
Raw Normal View History

#include "tab_bar.hpp"
2021-01-10 16:19:40 +01:00
#include "features/rid_joiner.hpp"
namespace big
{
void tabbar::render_misc()
{
if (ImGui::BeginTabItem("Misc"))
{
2021-01-10 16:19:40 +01:00
if (ImGui::Button("Join R* Id"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
g_rid_joiner.join_player(143069134);
}QUEUE_JOB_END_CLAUSE
}
ImGui::Text("Set Current Character Level:");
ImGui::SliderInt("##input_levels_self", &g_temp.set_level, 0, 8000);
if (ImGui::Button("Set Level"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
features::functions::set_player_level(g_temp.set_level);
}QUEUE_JOB_END_CLAUSE
}
if (ImGui::Button("Unlock Achievements"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
features::stats::unlock_achievements();
}QUEUE_JOB_END_CLAUSE
}
if (ImGui::Button("Unlock All Stats"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
features::stats::unlock_all();
}QUEUE_JOB_END_CLAUSE
}
ImGui::EndTabItem();
}
}
}