mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
wow release commit
This commit is contained in:
@@ -275,7 +275,7 @@ static inline void StaticUI()
|
||||
{
|
||||
if (IsRestartingSupported())
|
||||
{
|
||||
ImGui::Checkbox("Auto Restart", &Globals::bAutoRestart);
|
||||
// ImGui::Checkbox("Auto Restart", &Globals::bAutoRestart);
|
||||
|
||||
if (Globals::bAutoRestart)
|
||||
{
|
||||
@@ -517,23 +517,6 @@ static inline void MainUI()
|
||||
}
|
||||
*/
|
||||
|
||||
if (ImGui::Button("aaa"))
|
||||
{
|
||||
static auto Clasda = FindObject<UClass>(L"/Script/FortniteGame.FortMission_RiftSpawners");
|
||||
auto AllMissions = UGameplayStatics::GetAllActorsOfClass(GetWorld(), Clasda);
|
||||
|
||||
LOG_INFO(LogDev, "AllMissions.Num(): {}", AllMissions.Num());
|
||||
|
||||
for (int i = 0; i < AllMissions.Num(); i++)
|
||||
{
|
||||
auto Mission = AllMissions.at(i);
|
||||
|
||||
static auto bCalendarAllowsSpawningOffset = Mission->GetOffset("bCalendarAllowsSpawning");
|
||||
LOG_INFO(LogDev, "Mission->Get<bool>(bCalendarAllowsSpawningOffset) Original: {}", Mission->Get<bool>(bCalendarAllowsSpawningOffset));
|
||||
Mission->Get<bool>(bCalendarAllowsSpawningOffset) = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!bIsInAutoRestart && (Engine_Version < 424 && ImGui::Button("Restart")))
|
||||
{
|
||||
if (Engine_Version < 424)
|
||||
@@ -935,6 +918,29 @@ static inline void MainUI()
|
||||
|
||||
ImGui::InputText("Function Name to mess with", &FunctionNameToDump);
|
||||
|
||||
if (ImGui::Button("Find all classes that inherit"))
|
||||
{
|
||||
auto ClassToScuff = FindObject<UClass>(ClassNameToDump);
|
||||
|
||||
if (ClassToScuff)
|
||||
{
|
||||
auto ObjectNum = ChunkedObjects ? ChunkedObjects->Num() : UnchunkedObjects ? UnchunkedObjects->Num() : 0;
|
||||
|
||||
for (int i = 0; i < ObjectNum; i++)
|
||||
{
|
||||
auto CurrentObject = GetObjectByIndex(i);
|
||||
|
||||
if (!CurrentObject || CurrentObject == ClassToScuff)
|
||||
continue;
|
||||
|
||||
if (!CurrentObject->IsA(ClassToScuff))
|
||||
continue;
|
||||
|
||||
LOG_INFO(LogDev, "Class Name: {}", CurrentObject->GetPathName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (ImGui::Button("Print Class VFT"))
|
||||
{
|
||||
auto Class = FindObject<UClass>(ClassNameToDump);
|
||||
|
||||
Reference in New Issue
Block a user