From 4e4d4bc3a7413fc0e385b6696530972ae34e9d85 Mon Sep 17 00:00:00 2001 From: 2200151533 <2200151533@qq.com> Date: Thu, 25 Jan 2024 02:13:28 +0800 Subject: [PATCH] 1 --- feature.cpp | 12 ++++++++++++ src/Menu.cpp | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/feature.cpp b/feature.cpp index 9c5e9fa..df8ee2c 100644 --- a/feature.cpp +++ b/feature.cpp @@ -12,6 +12,18 @@ void ESP() DrawUActorComponent(Config.GetPalPlayerCharacter()->ShooterComponent->GetHasWeapon()->InstanceComponents, ImColor(128, 0, 0)); } } + if (Config.UCIM != NULL) + { + SDK::TArray T = {}; + Config.UCIM->GetAllPalCharacter(&T); + if (T.IsValid()) + { + for (int i = 0; i < T.Num(); i++) + { + ImGui::GetBackgroundDrawList()->AddText(nullptr, 16, ImVec2(10, 10 + (i * 30)), ImColor(128,0,0), T[i]->GetFullName().c_str()); + } + } + } } } void DrawUActorComponent(SDK::TArray Comps,ImColor color) diff --git a/src/Menu.cpp b/src/Menu.cpp index ad03d75..7284b83 100644 --- a/src/Menu.cpp +++ b/src/Menu.cpp @@ -6,6 +6,8 @@ SDK::FPalDebugOtomoPalInfo palinfo = SDK::FPalDebugOtomoPalInfo(); SDK::TArray EA = { 0U }; + + void AddItem(SDK::UPalPlayerInventoryData* data,char* itemName, int count) { SDK::UKismetStringLibrary* lib = SDK::UKismetStringLibrary::GetDefaultObj(); @@ -46,7 +48,6 @@ void SpawnPal(char* PalName,int rank, int lvl = 1) } } } -//Talk: Teleport or Shop anywhere Config.GetPalPlayerCharacter()->GetPalPlayerController()->Transmitter->Character->NotifyTalkStart_ToServer() void AnyWhereTP(SDK::FVector& vector,bool IsSafe) { if (!IsSafe) @@ -128,7 +129,7 @@ namespace DX11_Base { namespace Tabs { void TABPlayer() { - + //�л�����һ�� ImGui::Checkbox("SpeedHack", &Config.IsSpeedHack);