PalWorld-NetCrack/libs/SDKLibrary/SDK/UObjectPlugin_functions.cpp
NightFyre 9a743d2b16 toggle fullbright feature
- Adjusted SDK UGameViewportClient class members and padding
- Created helper function to get local player
- precompile headers for SDK
- SDK made into a static library ( single compile as its never changed )
2024-01-29 06:39:29 -05:00

45 lines
897 B
C++

#pragma once
// Dumped with Dumper-7!
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------------------------------------------------
// FUNCTIONS
//---------------------------------------------------------------------------------------------------------------------
// Class UObjectPlugin.MyPluginObject
// (None)
class UClass* UMyPluginObject::StaticClass()
{
static class UClass* Clss = nullptr;
if (!Clss)
Clss = UObject::FindClassFast("MyPluginObject");
return Clss;
}
// MyPluginObject UObjectPlugin.Default__MyPluginObject
// (Public, ClassDefaultObject, ArchetypeObject)
class UMyPluginObject* UMyPluginObject::GetDefaultObj()
{
static class UMyPluginObject* Default = nullptr;
if (!Default)
Default = static_cast<UMyPluginObject*>(UMyPluginObject::StaticClass()->DefaultObject);
return Default;
}
}