mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
fix s3, fix health + backpack bug on 1.11, change replciation, fix 7.20 & 12.61, fix backpack on >S9, probably some other stuff i forgot
15 lines
295 B
C++
15 lines
295 B
C++
#pragma once
|
|
|
|
#include "UObjectArray.h"
|
|
|
|
struct FWeakObjectPtr
|
|
{
|
|
public:
|
|
int ObjectIndex;
|
|
int ObjectSerialNumber;
|
|
|
|
UObject* Get()
|
|
{
|
|
return ChunkedObjects ? ChunkedObjects->GetObjectByIndex(ObjectIndex) : UnchunkedObjects ? UnchunkedObjects->GetObjectByIndex(ObjectIndex) : nullptr;
|
|
}
|
|
}; |