feat(Protections): Added cage protection

This commit is contained in:
Yimura
2021-01-17 00:47:00 +01:00
parent f94b7ddd69
commit 6b9467c9ac
5 changed files with 57 additions and 3 deletions

View File

@ -83,6 +83,21 @@ namespace big
{
auto& protections = g_settings.options["settings"]["protections"];
if (
ImGui::Checkbox("Cage Protection", protections["cage"].get<bool*>())// ||
//ImGui::Checkbox("Version Mismatch Protection", protections["version_mismatch"].get<bool*>())
)
g_settings.save();
ImGui::TreePop();
}
ImGui::Separator();
if (ImGui::TreeNode("Script Protection"))
{
auto& protections = g_settings.options["settings"]["script_protections"];
if (
ImGui::Checkbox("Bounty", protections["bounty"].get<bool*>()) ||
ImGui::Checkbox("Ceo Ban", protections["ceo_ban"].get<bool*>()) ||