#include "util/teleport.hpp"
#include "util/toxic.hpp"
#include "views/view.hpp"
namespace big
{
void view::player_kick()
ImGui::BeginGroup();
components::sub_title("Kick");
if (ImGui::ListBoxHeader("##kick", get_listbox_dimensions()))
auto const is_session_host = [] {
return gta_util::get_network()->m_game_session_ptr->is_host();
};
ImGui::Text("Host/breakup kick require Host");
ImGui::BeginDisabled(!g_player_service->get_self()->is_host());
components::player_command_button<"hostkick">(g_player_service->get_selected());
components::player_command_button<"breakup">(g_player_service->get_selected());
ImGui::EndDisabled();
ImGui::SameLine();
components::command_checkbox<"breakupcheating">();
components::player_command_button<"bailkick">(g_player_service->get_selected());
components::player_command_button<"nfkick">(g_player_service->get_selected());
components::player_command_button<"oomkick">(g_player_service->get_selected());
components::player_command_button<"shkick">(g_player_service->get_selected());
components::player_command_button<"endkick">(g_player_service->get_selected());
components::player_command_button<"desync">(g_player_service->get_selected());
ImGui::ListBoxFooter();
}
ImGui::EndGroup();