Files
Project-Reboot-3.0/Project Reboot 3.0/objectviewer.h
Milxnor 5e2a74764a disable rebooting again
fixed looting bug, fixed parachute not auto deploying on some builds
2023-06-21 10:51:24 -04:00

26 lines
607 B
C++

#pragma once
#include "reboot.h"
#include <fstream>
static inline bool IsPropertyA(void* Property, UClass* Class)
{
if (Fortnite_Version < 12.10)
{
if (((UField*)Property)->IsA(Class))
return true;
}
else
{
// TODO
}
return false;
}
namespace ObjectViewer
{
void DumpContentsToFile(UObject* Object, const std::string& FileName = "", bool bExcludeUnhandled = false);
static inline void DumpContentsToFile(const std::string& ObjectName, const std::string& FileName = "", bool bExcludeUnhandled = false) { return DumpContentsToFile(FindObject(ObjectName), FileName, bExcludeUnhandled); }
}