mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 11:12:23 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
26
dependencies/reboot/Project Reboot 3.0/objectviewer.h
vendored
Normal file
26
dependencies/reboot/Project Reboot 3.0/objectviewer.h
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
#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); }
|
||||
}
|
||||
Reference in New Issue
Block a user