Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions src/include/BL2SDK/Core/Core_classes.h
Original file line number Diff line number Diff line change
Expand Up @@ -1008,14 +1008,22 @@ class UFunction : public UStruct
class UProperty : public UField
{
public:
unsigned char UnknownData00[0x40]; // 0x0040 (0x0040) MISSED OFFSET
int ArrayDim;
UProperty* DestructorLinkNext;
int ElementSize;
UProperty* NextRef;
UProperty* PostConstructLinkNext;
unsigned int PropertyFlags;
UProperty* PropertyLinkNext;
unsigned short RepIndex;
FName RepNotifyFunc;
};

// 0x0004 (0x0084 - 0x0080)
class UStructProperty : public UProperty
{
public:
unsigned char UnknownData00[0x4]; // 0x0080 (0x0004) MISSED OFFSET
UScriptStruct* Struct;
};

// 0x0000 (0x0080 - 0x0080)
Expand All @@ -1025,7 +1033,7 @@ class UStrProperty : public UProperty {};
class UObjectProperty : public UProperty
{
public:
unsigned char UnknownData00[0x4]; // 0x0080 (0x0004) MISSED OFFSET
UObject* Object;
};

// 0x0000 (0x0084 - 0x0084)
Expand All @@ -1035,7 +1043,7 @@ class UComponentProperty : public UObjectProperty {};
class UClassProperty : public UObjectProperty
{
public:
unsigned char UnknownData00[0x4]; // 0x0084 (0x0004) MISSED OFFSET
UClass* MetaClass;
};

// 0x0000 (0x0080 - 0x0080)
Expand Down
12 changes: 6 additions & 6 deletions src/pydefs/Core_classes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,25 +425,25 @@ void Export_pystes_Core_classes(py::module &m)
;
py::class_< UStructProperty, UProperty >(m, "UStructProperty")
;
py::class_< UStrProperty >(m, "UStrProperty")
py::class_< UStrProperty, UProperty >(m, "UStrProperty")
;
py::class_< UObjectProperty, UProperty >(m, "UObjectProperty")
;
py::class_< UComponentProperty >(m, "UComponentProperty")
py::class_< UComponentProperty, UProperty >(m, "UComponentProperty")
;
py::class_< UClassProperty, UObjectProperty >(m, "UClassProperty")
;
py::class_< UNameProperty >(m, "UNameProperty")
py::class_< UNameProperty, UProperty >(m, "UNameProperty")
;
py::class_< UMapProperty, UProperty >(m, "UMapProperty")
;
py::class_< UIntProperty >(m, "UIntProperty")
py::class_< UIntProperty, UProperty >(m, "UIntProperty")
;
py::class_< UIntAttributeProperty, UIntProperty >(m, "UIntAttributeProperty")
;
py::class_< UInterfaceProperty, UProperty >(m, "UInterfaceProperty")
;
py::class_< UFloatProperty >(m, "UFloatProperty")
py::class_< UFloatProperty, UProperty >(m, "UFloatProperty")
;
py::class_< UFloatAttributeProperty, UFloatProperty >(m, "UFloatAttributeProperty")
;
Expand Down Expand Up @@ -473,7 +473,7 @@ void Export_pystes_Core_classes(py::module &m)
.def_readwrite("AutoPriority", &UFactory::AutoPriority)
.def_readwrite("ValidGameNames", &UFactory::ValidGameNames, py::return_value_policy::reference)
;
py::class_< UTextBufferFactory >(m, "UTextBufferFactory")
py::class_< UTextBufferFactory, UFactory >(m, "UTextBufferFactory")
;
py::class_< UExporter, UObject >(m, "UExporter")
.def_readwrite("FormatExtension", &UExporter::FormatExtension, py::return_value_policy::reference)
Expand Down