From 4f7166b1f3293d809e0a2a0481d8181064294101 Mon Sep 17 00:00:00 2001 From: jadis0x <49281043+jadis0x@users.noreply.github.com> Date: Sun, 2 Oct 2022 15:20:19 +0300 Subject: [PATCH] add: UnlimitedUV function --- DevourClient/Features/Misc/Misc.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/DevourClient/Features/Misc/Misc.cpp b/DevourClient/Features/Misc/Misc.cpp index c25a56a..3cd7bca 100644 --- a/DevourClient/Features/Misc/Misc.cpp +++ b/DevourClient/Features/Misc/Misc.cpp @@ -16,4 +16,14 @@ void Misc::WalkInlobby(bool walk) { Players::LocalPlayer->AddComponent(UltimateCharacterLocomotionHandler); } */ -} \ No newline at end of file +} + +void Misc::UnlimitedUV(bool active) { + try { + Players::LocalPlayer->GetComponent("NolanBehaviour")->CallMethodSafe("SetPurgatory", active); + } + catch (...) { + settings::unlimited_uv = false; + std::cout << "Unlimited UV error"; + } +}